@nadohq/trigger-client 0.37.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/endpoints.cjs +2 -2
- package/dist/endpoints.cjs.map +1 -1
- package/dist/endpoints.js +2 -2
- package/dist/endpoints.js.map +1 -1
- package/package.json +4 -4
- package/src/endpoints.ts +2 -2
package/dist/endpoints.cjs
CHANGED
|
@@ -2,8 +2,8 @@ Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
|
2
2
|
//#region src/endpoints.ts
|
|
3
3
|
const TRIGGER_CLIENT_ENDPOINTS = {
|
|
4
4
|
local: "http://localhost:80/trigger",
|
|
5
|
-
inkTestnet: "https://
|
|
6
|
-
inkMainnet: "https://
|
|
5
|
+
inkTestnet: "https://api.test.nado.xyz/trigger/v1",
|
|
6
|
+
inkMainnet: "https://api.prod.nado.xyz/trigger/v1"
|
|
7
7
|
};
|
|
8
8
|
//#endregion
|
|
9
9
|
exports.TRIGGER_CLIENT_ENDPOINTS = TRIGGER_CLIENT_ENDPOINTS;
|
package/dist/endpoints.cjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.cjs","names":[],"sources":["../src/endpoints.ts"],"sourcesContent":["import { ChainEnv } from '@nadohq/shared';\n\nexport const TRIGGER_CLIENT_ENDPOINTS: Record<ChainEnv, string> = {\n local: 'http://localhost:80/trigger',\n inkTestnet: 'https://
|
|
1
|
+
{"version":3,"file":"endpoints.cjs","names":[],"sources":["../src/endpoints.ts"],"sourcesContent":["import { ChainEnv } from '@nadohq/shared';\n\nexport const TRIGGER_CLIENT_ENDPOINTS: Record<ChainEnv, string> = {\n local: 'http://localhost:80/trigger',\n inkTestnet: 'https://api.test.nado.xyz/trigger/v1',\n inkMainnet: 'https://api.prod.nado.xyz/trigger/v1',\n};\n"],"mappings":";;AAEA,MAAa,2BAAqD;CAChE,OAAO;CACP,YAAY;CACZ,YAAY;AACd"}
|
package/dist/endpoints.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
//#region src/endpoints.ts
|
|
2
2
|
const TRIGGER_CLIENT_ENDPOINTS = {
|
|
3
3
|
local: "http://localhost:80/trigger",
|
|
4
|
-
inkTestnet: "https://
|
|
5
|
-
inkMainnet: "https://
|
|
4
|
+
inkTestnet: "https://api.test.nado.xyz/trigger/v1",
|
|
5
|
+
inkMainnet: "https://api.prod.nado.xyz/trigger/v1"
|
|
6
6
|
};
|
|
7
7
|
//#endregion
|
|
8
8
|
export { TRIGGER_CLIENT_ENDPOINTS };
|
package/dist/endpoints.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"endpoints.js","names":[],"sources":["../src/endpoints.ts"],"sourcesContent":["import { ChainEnv } from '@nadohq/shared';\n\nexport const TRIGGER_CLIENT_ENDPOINTS: Record<ChainEnv, string> = {\n local: 'http://localhost:80/trigger',\n inkTestnet: 'https://
|
|
1
|
+
{"version":3,"file":"endpoints.js","names":[],"sources":["../src/endpoints.ts"],"sourcesContent":["import { ChainEnv } from '@nadohq/shared';\n\nexport const TRIGGER_CLIENT_ENDPOINTS: Record<ChainEnv, string> = {\n local: 'http://localhost:80/trigger',\n inkTestnet: 'https://api.test.nado.xyz/trigger/v1',\n inkMainnet: 'https://api.prod.nado.xyz/trigger/v1',\n};\n"],"mappings":";AAEA,MAAa,2BAAqD;CAChE,OAAO;CACP,YAAY;CACZ,YAAY;AACd"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadohq/trigger-client",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.41.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"description": "HTTP client for the Nado trigger service — stop-loss, take-profit, and TWAP orders",
|
|
@@ -41,8 +41,8 @@
|
|
|
41
41
|
"module": "./dist/index.js",
|
|
42
42
|
"types": "./dist/index.d.ts",
|
|
43
43
|
"dependencies": {
|
|
44
|
-
"@nadohq/engine-client": "^0.
|
|
45
|
-
"@nadohq/shared": "^0.
|
|
44
|
+
"@nadohq/engine-client": "^0.41.0",
|
|
45
|
+
"@nadohq/shared": "^0.41.0",
|
|
46
46
|
"axios": "1.16.1",
|
|
47
47
|
"ts-mixer": "6.0.4"
|
|
48
48
|
},
|
|
@@ -54,5 +54,5 @@
|
|
|
54
54
|
"bignumber.js": "11.1.1",
|
|
55
55
|
"viem": "2.52.0"
|
|
56
56
|
},
|
|
57
|
-
"gitHead": "
|
|
57
|
+
"gitHead": "bd534f98c5e429aafc861e1fcc4a639ffd2850a6"
|
|
58
58
|
}
|
package/src/endpoints.ts
CHANGED
|
@@ -2,6 +2,6 @@ import { ChainEnv } from '@nadohq/shared';
|
|
|
2
2
|
|
|
3
3
|
export const TRIGGER_CLIENT_ENDPOINTS: Record<ChainEnv, string> = {
|
|
4
4
|
local: 'http://localhost:80/trigger',
|
|
5
|
-
inkTestnet: 'https://
|
|
6
|
-
inkMainnet: 'https://
|
|
5
|
+
inkTestnet: 'https://api.test.nado.xyz/trigger/v1',
|
|
6
|
+
inkMainnet: 'https://api.prod.nado.xyz/trigger/v1',
|
|
7
7
|
};
|