mirror of
https://github.com/orionprotocol/sdk.git
synced 2026-03-14 06:02:36 +03:00
Merge branch 'main' into feature/new-exchanges
# Conflicts: # package.json
This commit is contained in:
38
package-lock.json
generated
38
package-lock.json
generated
@@ -1,19 +1,19 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.19.81",
|
||||
"version": "0.19.82",
|
||||
"lockfileVersion": 3,
|
||||
"requires": true,
|
||||
"packages": {
|
||||
"": {
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.19.81",
|
||||
"version": "0.19.82",
|
||||
"hasInstallScript": true,
|
||||
"license": "ISC",
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.21.0",
|
||||
"@ethersproject/abstract-signer": "^5.7.0",
|
||||
"@ethersproject/providers": "^5.7.2",
|
||||
"@orionprotocol/contracts": "1.16.2",
|
||||
"@orionprotocol/contracts": "1.17.0",
|
||||
"bignumber.js": "^9.1.1",
|
||||
"bson-objectid": "^2.0.4",
|
||||
"buffer": "^6.0.3",
|
||||
@@ -24,13 +24,13 @@
|
||||
"merge-anything": "^5.1.7",
|
||||
"neverthrow": "^6.0.0",
|
||||
"patch-package": "^8.0.0",
|
||||
"simple-typed-fetch": "0.2.2",
|
||||
"simple-typed-fetch": "0.2.3",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"tiny-invariant": "^1.3.1",
|
||||
"ts-is-present": "^1.2.2",
|
||||
"uuid": "^9.0.0",
|
||||
"ws": "^8.13.0",
|
||||
"zod": "3.21.4"
|
||||
"zod": "3.22.2"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.21.4",
|
||||
@@ -61,7 +61,7 @@
|
||||
"ts-loader": "^9.4.3",
|
||||
"ts-node": "github:TypeStrong/ts-node#main",
|
||||
"tsup": "^7.2.0",
|
||||
"typescript": "^5.1.6"
|
||||
"typescript": "^5.2.2"
|
||||
},
|
||||
"engines": {
|
||||
"node": ">=18.0.0"
|
||||
@@ -2619,9 +2619,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/@orionprotocol/contracts": {
|
||||
"version": "1.16.2",
|
||||
"resolved": "https://registry.npmjs.org/@orionprotocol/contracts/-/contracts-1.16.2.tgz",
|
||||
"integrity": "sha512-Jm1OrgneDunX85LhV/V6byb7mAGdwDKzHvtEYAvvg66XXa2mzw/uFNmgYcvaXAIh6q9I7hn5UuXXDOl9Z0D+Yw=="
|
||||
"version": "1.17.0",
|
||||
"resolved": "https://registry.npmjs.org/@orionprotocol/contracts/-/contracts-1.17.0.tgz",
|
||||
"integrity": "sha512-Ur61rlBXloIDC98nqDUG3vR/Ql1gSPXJb05SBy4kVyHrriVAx7wpHxnKRhz+VJo1R31j/1g8kA4DaDfBdtqRHA=="
|
||||
},
|
||||
"node_modules/@sinclair/typebox": {
|
||||
"version": "0.27.8",
|
||||
@@ -10398,14 +10398,14 @@
|
||||
"dev": true
|
||||
},
|
||||
"node_modules/simple-typed-fetch": {
|
||||
"version": "0.2.2",
|
||||
"resolved": "https://registry.npmjs.org/simple-typed-fetch/-/simple-typed-fetch-0.2.2.tgz",
|
||||
"integrity": "sha512-RVkMptZGpxdx+3FjwRBpnZJ47ngid4tnh2YSTsmLV+OfVpGFuQ1+VdNYVkS1mvYYGvkSUH53YdOYve6uO7Grww==",
|
||||
"version": "0.2.3",
|
||||
"resolved": "https://registry.npmjs.org/simple-typed-fetch/-/simple-typed-fetch-0.2.3.tgz",
|
||||
"integrity": "sha512-EXP2mVVsVf4A3+5QGevs8789ztnT6FozsYyMrIrUYhfqtX2V+X9xETHeGXffmgv7YQ0p+GrW7N+5x+b+pBW59Q==",
|
||||
"dependencies": {
|
||||
"isomorphic-unfetch": "^4.0.2",
|
||||
"neverthrow": "^6.0.0",
|
||||
"patch-package": "^8.0.0",
|
||||
"zod": "^3.21.4"
|
||||
"zod": "^3.22.2"
|
||||
}
|
||||
},
|
||||
"node_modules/sisteransi": {
|
||||
@@ -11397,9 +11397,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/typescript": {
|
||||
"version": "5.1.6",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.1.6.tgz",
|
||||
"integrity": "sha512-zaWCozRZ6DLEWAWFrVDz1H6FVXzUSfTy5FUMWsQlU8Ym5JP9eO4xkTIROFCQvhQf61z6O/G6ugw3SgAnvvm+HA==",
|
||||
"version": "5.2.2",
|
||||
"resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
|
||||
"integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==",
|
||||
"dev": true,
|
||||
"bin": {
|
||||
"tsc": "bin/tsc",
|
||||
@@ -11882,9 +11882,9 @@
|
||||
}
|
||||
},
|
||||
"node_modules/zod": {
|
||||
"version": "3.21.4",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.21.4.tgz",
|
||||
"integrity": "sha512-m46AKbrzKVzOzs/DZgVnG5H55N1sv1M8qZU3A8RIKbs3mrACDNeIOeilDymVb2HdmP8uwshOCF4uJ8uM9rCqJw==",
|
||||
"version": "3.22.2",
|
||||
"resolved": "https://registry.npmjs.org/zod/-/zod-3.22.2.tgz",
|
||||
"integrity": "sha512-wvWkphh5WQsJbVk1tbx1l1Ly4yg+XecD+Mq280uBGt9wa5BKSWf4Mhp6GmrkPixhMxmabYY7RbzlwVP32pbGCg==",
|
||||
"funding": {
|
||||
"url": "https://github.com/sponsors/colinhacks"
|
||||
}
|
||||
|
||||
10
package.json
10
package.json
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "@orionprotocol/sdk",
|
||||
"version": "0.19.81-rc7",
|
||||
"version": "0.19.81-rc8",
|
||||
"description": "Orion Protocol SDK",
|
||||
"main": "./lib/index.cjs",
|
||||
"module": "./lib/index.js",
|
||||
@@ -81,13 +81,13 @@
|
||||
"ts-loader": "^9.4.3",
|
||||
"ts-node": "github:TypeStrong/ts-node#main",
|
||||
"tsup": "^7.2.0",
|
||||
"typescript": "^5.1.6"
|
||||
"typescript": "^5.2.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.21.0",
|
||||
"@ethersproject/abstract-signer": "^5.7.0",
|
||||
"@ethersproject/providers": "^5.7.2",
|
||||
"@orionprotocol/contracts": "1.16.2",
|
||||
"@orionprotocol/contracts": "1.17.0",
|
||||
"bignumber.js": "^9.1.1",
|
||||
"bson-objectid": "^2.0.4",
|
||||
"buffer": "^6.0.3",
|
||||
@@ -98,13 +98,13 @@
|
||||
"merge-anything": "^5.1.7",
|
||||
"neverthrow": "^6.0.0",
|
||||
"patch-package": "^8.0.0",
|
||||
"simple-typed-fetch": "0.2.2",
|
||||
"simple-typed-fetch": "0.2.3",
|
||||
"stream-browserify": "^3.0.0",
|
||||
"tiny-invariant": "^1.3.1",
|
||||
"ts-is-present": "^1.2.2",
|
||||
"uuid": "^9.0.0",
|
||||
"ws": "^8.13.0",
|
||||
"zod": "3.21.4"
|
||||
"zod": "3.22.2"
|
||||
},
|
||||
"homepage": "https://github.com/orionprotocol/sdk#readme",
|
||||
"files": [
|
||||
|
||||
@@ -15,7 +15,7 @@
|
||||
"56": {
|
||||
"chainId": "56",
|
||||
"explorer": "https://bscscan.com/",
|
||||
"label": "Binance Smart Chain",
|
||||
"label": "BNB Chain",
|
||||
"shortName": "BSC",
|
||||
"code": "bsc",
|
||||
"rpc": "https://bsc-dataseed.binance.org/",
|
||||
@@ -28,7 +28,7 @@
|
||||
"97": {
|
||||
"chainId": "97",
|
||||
"explorer": "https://testnet.bscscan.com/",
|
||||
"label": "Binance Smart Chain Testnet",
|
||||
"label": "BNB Chain Testnet",
|
||||
"shortName": "BSC-Testnet",
|
||||
"code": "bsc",
|
||||
"rpc": "https://data-seed-prebsc-1-s1.bnbchain.org:8545/",
|
||||
|
||||
@@ -1,36 +1,32 @@
|
||||
{
|
||||
"extends": [
|
||||
"@tsconfig/strictest/tsconfig.json",
|
||||
"@tsconfig/esm/tsconfig.json"
|
||||
],
|
||||
"files": [
|
||||
"./src/index.ts"
|
||||
],
|
||||
"include": [
|
||||
"./src/**/*.ts"
|
||||
],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
// "**/__tests__/*",
|
||||
"lib"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"module": "esnext",
|
||||
"moduleResolution": "nodenext",
|
||||
"esModuleInterop": true,
|
||||
"resolveJsonModule": true, /* Enable importing .json files */
|
||||
"declaration": true, /* Generate .d.ts files from TypeScript and JavaScript files in your project. */
|
||||
"sourceMap": true, /* Create source map files for emitted JavaScript files. */
|
||||
"outDir": "./lib/esm", /* Specify an output folder for all emitted files. */
|
||||
"forceConsistentCasingInFileNames": true, /* Ensure that casing is correct in imports. */
|
||||
"noUnusedLocals": true, /* Enable error reporting when a local variables aren't read. */
|
||||
"noUnusedParameters": true, /* Raise an error when a function parameter isn't read */
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"skipLibCheck": true, /* Skip type checking all .d.ts files. */
|
||||
},
|
||||
"ts-node": {
|
||||
// Tell ts-node CLI to install the --loader automatically, explained below
|
||||
"esm": true
|
||||
}
|
||||
}
|
||||
"extends": [
|
||||
"@tsconfig/strictest/tsconfig.json",
|
||||
"@tsconfig/esm/tsconfig.json"
|
||||
],
|
||||
"files": ["./src/index.ts"],
|
||||
"include": ["./src/**/*.ts"],
|
||||
"exclude": [
|
||||
"node_modules",
|
||||
// "**/__tests__/*",
|
||||
"lib"
|
||||
],
|
||||
"compilerOptions": {
|
||||
"target": "esnext",
|
||||
"module": "NodeNext",
|
||||
"moduleResolution": "NodeNext",
|
||||
"esModuleInterop": true,
|
||||
"resolveJsonModule": true /* Enable importing .json files */,
|
||||
"declaration": true /* Generate .d.ts files from TypeScript and JavaScript files in your project. */,
|
||||
"sourceMap": true /* Create source map files for emitted JavaScript files. */,
|
||||
"outDir": "./lib/esm" /* Specify an output folder for all emitted files. */,
|
||||
"forceConsistentCasingInFileNames": true /* Ensure that casing is correct in imports. */,
|
||||
"noUnusedLocals": true /* Enable error reporting when a local variables aren't read. */,
|
||||
"noUnusedParameters": true /* Raise an error when a function parameter isn't read */,
|
||||
"noUncheckedIndexedAccess": true,
|
||||
"skipLibCheck": true /* Skip type checking all .d.ts files. */
|
||||
},
|
||||
"ts-node": {
|
||||
// Tell ts-node CLI to install the --loader automatically, explained below
|
||||
"esm": true
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user