@defuse-protocol/intents-sdk 0.78.1 → 0.80.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/README.md +3 -45
- package/dist/index.cjs +3 -2
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/src/bridges/direct-bridge/direct-bridge.cjs +3 -0
- package/dist/src/bridges/direct-bridge/direct-bridge.js +4 -1
- package/dist/src/bridges/hot-bridge/hot-bridge.cjs +4 -1
- package/dist/src/bridges/hot-bridge/hot-bridge.js +5 -2
- package/dist/src/bridges/omni-bridge/omni-bridge-constants.cjs +5 -1
- package/dist/src/bridges/omni-bridge/omni-bridge-constants.js +3 -1
- package/dist/src/bridges/omni-bridge/omni-bridge-utils.cjs +2 -2
- package/dist/src/bridges/omni-bridge/omni-bridge-utils.js +2 -2
- package/dist/src/bridges/omni-bridge/omni-bridge.cjs +16 -15
- package/dist/src/bridges/omni-bridge/omni-bridge.js +19 -18
- package/dist/src/bridges/poa-bridge/poa-bridge-utils.cjs +0 -6
- package/dist/src/bridges/poa-bridge/poa-bridge-utils.js +0 -6
- package/dist/src/bridges/poa-bridge/poa-bridge.cjs +6 -4
- package/dist/src/bridges/poa-bridge/poa-bridge.js +7 -5
- package/dist/src/classes/errors.cjs +11 -0
- package/dist/src/classes/errors.d.cts +9 -1
- package/dist/src/classes/errors.d.ts +9 -1
- package/dist/src/classes/errors.js +11 -1
- package/dist/src/constants/{poa-tokens-routable-through-omni-bridge.cjs → poa-tokens-migrated-to-omni-bridge.cjs} +9 -7
- package/dist/src/constants/poa-tokens-migrated-to-omni-bridge.d.cts +10 -0
- package/dist/src/constants/poa-tokens-migrated-to-omni-bridge.d.ts +10 -0
- package/dist/src/constants/{poa-tokens-routable-through-omni-bridge.js → poa-tokens-migrated-to-omni-bridge.js} +9 -7
- package/dist/src/lib/compareAddresses.cjs +116 -0
- package/dist/src/lib/compareAddresses.js +115 -0
- package/dist/src/lib/validateAddress.cjs +2 -0
- package/dist/src/lib/validateAddress.js +2 -0
- package/dist/src/sdk.cjs +1 -3
- package/dist/src/sdk.d.cts +0 -7
- package/dist/src/sdk.d.ts +0 -7
- package/dist/src/sdk.js +1 -3
- package/package.json +4 -4
- package/dist/src/constants/poa-tokens-routable-through-omni-bridge.d.cts +0 -12
- package/dist/src/constants/poa-tokens-routable-through-omni-bridge.d.ts +0 -12
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defuse-protocol/intents-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.80.0",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"repository": {
|
|
@@ -38,8 +38,8 @@
|
|
|
38
38
|
"@hot-labs/omni-sdk": "2.25.5",
|
|
39
39
|
"@isaacs/ttlcache": "^1.0.0",
|
|
40
40
|
"@lifeomic/attempt": "^3.0.0",
|
|
41
|
-
"@omni-bridge/core": "0.
|
|
42
|
-
"@omni-bridge/near": "0.
|
|
41
|
+
"@omni-bridge/core": "0.18.0",
|
|
42
|
+
"@omni-bridge/near": "0.18.0",
|
|
43
43
|
"@noble/hashes": "^1.7.1",
|
|
44
44
|
"@scure/base": "^1.0.0",
|
|
45
45
|
"borsher": "^4.0.0",
|
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
"valibot": "^1.0.0",
|
|
50
50
|
"viem": "^2.0.0",
|
|
51
51
|
"@defuse-protocol/contract-types": "0.6.4",
|
|
52
|
-
"@defuse-protocol/internal-utils": "0.
|
|
52
|
+
"@defuse-protocol/internal-utils": "0.36.0"
|
|
53
53
|
},
|
|
54
54
|
"devDependencies": {
|
|
55
55
|
"@ton/core": "^0.60.0",
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ChainKind } from "@omni-bridge/core";
|
|
2
|
-
|
|
3
|
-
//#region src/constants/poa-tokens-routable-through-omni-bridge.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* These tokens can be routed through either PoA Bridge or Omni Bridge
|
|
7
|
-
* depending on the SDK configuration. Use the `routeMigratedPoaTokensThroughOmniBridge`
|
|
8
|
-
* feature flag to enable Omni Bridge routing for these tokens.
|
|
9
|
-
*/
|
|
10
|
-
declare const POA_TOKENS_ROUTABLE_THROUGH_OMNI_BRIDGE: Record<string, ChainKind>;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { POA_TOKENS_ROUTABLE_THROUGH_OMNI_BRIDGE };
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ChainKind } from "@omni-bridge/core";
|
|
2
|
-
|
|
3
|
-
//#region src/constants/poa-tokens-routable-through-omni-bridge.d.ts
|
|
4
|
-
|
|
5
|
-
/**
|
|
6
|
-
* These tokens can be routed through either PoA Bridge or Omni Bridge
|
|
7
|
-
* depending on the SDK configuration. Use the `routeMigratedPoaTokensThroughOmniBridge`
|
|
8
|
-
* feature flag to enable Omni Bridge routing for these tokens.
|
|
9
|
-
*/
|
|
10
|
-
declare const POA_TOKENS_ROUTABLE_THROUGH_OMNI_BRIDGE: Record<string, ChainKind>;
|
|
11
|
-
//#endregion
|
|
12
|
-
export { POA_TOKENS_ROUTABLE_THROUGH_OMNI_BRIDGE };
|