@defuse-protocol/intents-sdk 0.19.3 → 0.20.1
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/index.cjs +2 -1
- package/dist/index.js +2 -1
- package/package.json +6 -6
package/dist/index.cjs
CHANGED
|
@@ -1305,7 +1305,8 @@ var OmniBridge = class {
|
|
|
1305
1305
|
offset: args.index,
|
|
1306
1306
|
limit: 1
|
|
1307
1307
|
}))[0];
|
|
1308
|
-
if (
|
|
1308
|
+
if (transfer == null || transfer.transfer_message == null)
|
|
1309
|
+
throw new OmniTransferNotFoundError(args.tx.hash);
|
|
1309
1310
|
const destinationChain = (0, import_omni_bridge_sdk2.getChain)(
|
|
1310
1311
|
transfer.transfer_message.recipient
|
|
1311
1312
|
);
|
package/dist/index.js
CHANGED
|
@@ -1272,7 +1272,8 @@ var OmniBridge = class {
|
|
|
1272
1272
|
offset: args.index,
|
|
1273
1273
|
limit: 1
|
|
1274
1274
|
}))[0];
|
|
1275
|
-
if (
|
|
1275
|
+
if (transfer == null || transfer.transfer_message == null)
|
|
1276
|
+
throw new OmniTransferNotFoundError(args.tx.hash);
|
|
1276
1277
|
const destinationChain = getChain(
|
|
1277
1278
|
transfer.transfer_message.recipient
|
|
1278
1279
|
);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@defuse-protocol/intents-sdk",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.20.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -25,16 +25,16 @@
|
|
|
25
25
|
"@hot-labs/omni-sdk": "2.20.2",
|
|
26
26
|
"@isaacs/ttlcache": "^1.0.0",
|
|
27
27
|
"@lifeomic/attempt": "^3.0.0",
|
|
28
|
+
"@near-js/accounts": "^2.0.1",
|
|
29
|
+
"@near-js/client": "^2.0.1",
|
|
30
|
+
"@near-js/keystores": "^2.0.1",
|
|
28
31
|
"@scure/base": "^1.0.0",
|
|
29
32
|
"borsher": "^4.0.0",
|
|
30
33
|
"near-api-js": "^4.0.0 || ^5.0.0",
|
|
34
|
+
"omni-bridge-sdk": "0.17.5",
|
|
31
35
|
"viem": "^2.0.0",
|
|
32
|
-
"omni-bridge-sdk": "0.13.1",
|
|
33
|
-
"@near-js/client": "^2.0.1",
|
|
34
|
-
"@near-js/accounts": "^2.0.1",
|
|
35
|
-
"@near-js/keystores": "^2.0.1",
|
|
36
36
|
"@defuse-protocol/contract-types": "0.1.0",
|
|
37
|
-
"@defuse-protocol/internal-utils": "0.
|
|
37
|
+
"@defuse-protocol/internal-utils": "0.10.0"
|
|
38
38
|
},
|
|
39
39
|
"devDependencies": {
|
|
40
40
|
"tsup": "^8.5.0",
|