@wormhole-foundation/sdk 3.8.4 → 3.8.6

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.
@@ -0,0 +1,5 @@
1
+ import { PlatformDefinition } from "../index.js";
2
+ import * as _stacks from "@wormhole-foundation/sdk-stacks";
3
+ export declare const stacks: PlatformDefinition<typeof _stacks._platform>;
4
+ export default stacks;
5
+ //# sourceMappingURL=stacks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stacks.d.ts","sourceRoot":"","sources":["../../../src/platforms/stacks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC;AAE3D,eAAO,MAAM,MAAM,EAAE,kBAAkB,CAAC,OAAO,OAAO,CAAC,SAAS,CAiB/D,CAAA;AACD,eAAe,MAAM,CAAC"}
@@ -0,0 +1,41 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ exports.stacks = void 0;
27
+ const sdk_connect_1 = require("@wormhole-foundation/sdk-connect");
28
+ const _stacks = __importStar(require("@wormhole-foundation/sdk-stacks"));
29
+ exports.stacks = {
30
+ Address: _stacks.StacksAddress,
31
+ Platform: _stacks.StacksPlatform,
32
+ getSigner: _stacks.getStacksSigner,
33
+ protocols: {
34
+ WormholeCore: () => Promise.resolve().then(() => __importStar(require("@wormhole-foundation/sdk-stacks-core"))),
35
+ },
36
+ getChain: (network, chain, overrides) => new _stacks.StacksChain(chain, new _stacks.StacksPlatform(network, (0, sdk_connect_1.applyChainsConfigConfigOverrides)(network, _stacks._platform, {
37
+ [chain]: overrides,
38
+ }))),
39
+ };
40
+ exports.default = exports.stacks;
41
+ //# sourceMappingURL=stacks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stacks.js","sourceRoot":"","sources":["../../../src/platforms/stacks.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,kEAAoF;AAEpF,yEAA2D;AAE9C,QAAA,MAAM,GAAiD;IAClE,OAAO,EAAE,OAAO,CAAC,aAAa;IAC9B,QAAQ,EAAE,OAAO,CAAC,cAAc;IAChC,SAAS,EAAE,OAAO,CAAC,eAAe;IAClC,SAAS,EAAE;QACT,YAAY,EAAE,GAAG,EAAE,mDAAQ,sCAAsC,GAAC;KACnE;IACD,QAAQ,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,SAAU,EAAE,EAAE,CACvC,IAAI,OAAO,CAAC,WAAW,CACrB,KAAK,EACL,IAAI,OAAO,CAAC,cAAc,CACxB,OAAO,EACP,IAAA,8CAAgC,EAAC,OAAO,EAAE,OAAO,CAAC,SAAS,EAAE;QAC3D,CAAC,KAAK,CAAC,EAAE,SAAS;KACnB,CAAC,CACH,CACF;CACJ,CAAA;AACD,kBAAe,cAAM,CAAC"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="@wormhole-foundation/sdk-stacks/dist/cjs" />
2
+ import type { PlatformDefinition } from "./index.js";
3
+ declare const stacks: () => Promise<PlatformDefinition<"Stacks">>;
4
+ export default stacks;
5
+ //# sourceMappingURL=stacks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stacks.d.ts","sourceRoot":"","sources":["../../src/stacks.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,QAAA,MAAM,MAAM,QAAa,QAAQ,mBAAmB,QAAQ,CAAC,CACZ,CAAC;AAClD,eAAe,MAAM,CAAC"}
@@ -0,0 +1,28 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || function (mod) {
19
+ if (mod && mod.__esModule) return mod;
20
+ var result = {};
21
+ if (mod != null) for (var k in mod) if (k !== "default" && Object.prototype.hasOwnProperty.call(mod, k)) __createBinding(result, mod, k);
22
+ __setModuleDefault(result, mod);
23
+ return result;
24
+ };
25
+ Object.defineProperty(exports, "__esModule", { value: true });
26
+ const stacks = async () => (await Promise.resolve().then(() => __importStar(require("./platforms/stacks.js")))).default;
27
+ exports.default = stacks;
28
+ //# sourceMappingURL=stacks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stacks.js","sourceRoot":"","sources":["../../src/stacks.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;AAEA,MAAM,MAAM,GAAG,KAAK,IAA2C,EAAE,CAC/D,CAAC,wDAAa,uBAAuB,GAAC,CAAC,CAAC,OAAO,CAAC;AAClD,kBAAe,MAAM,CAAC"}
@@ -0,0 +1,5 @@
1
+ import { PlatformDefinition } from "../index.js";
2
+ import * as _stacks from "@wormhole-foundation/sdk-stacks";
3
+ export declare const stacks: PlatformDefinition<typeof _stacks._platform>;
4
+ export default stacks;
5
+ //# sourceMappingURL=stacks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stacks.d.ts","sourceRoot":"","sources":["../../../src/platforms/stacks.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,kBAAkB,EAAE,MAAM,aAAa,CAAC;AACjD,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC;AAE3D,eAAO,MAAM,MAAM,EAAE,kBAAkB,CAAC,OAAO,OAAO,CAAC,SAAS,CAiB/D,CAAA;AACD,eAAe,MAAM,CAAC"}
@@ -0,0 +1,15 @@
1
+ import { applyChainsConfigConfigOverrides } from "@wormhole-foundation/sdk-connect";
2
+ import * as _stacks from "@wormhole-foundation/sdk-stacks";
3
+ export const stacks = {
4
+ Address: _stacks.StacksAddress,
5
+ Platform: _stacks.StacksPlatform,
6
+ getSigner: _stacks.getStacksSigner,
7
+ protocols: {
8
+ WormholeCore: () => import("@wormhole-foundation/sdk-stacks-core"),
9
+ },
10
+ getChain: (network, chain, overrides) => new _stacks.StacksChain(chain, new _stacks.StacksPlatform(network, applyChainsConfigConfigOverrides(network, _stacks._platform, {
11
+ [chain]: overrides,
12
+ }))),
13
+ };
14
+ export default stacks;
15
+ //# sourceMappingURL=stacks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stacks.js","sourceRoot":"","sources":["../../../src/platforms/stacks.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gCAAgC,EAAE,MAAM,kCAAkC,CAAC;AAEpF,OAAO,KAAK,OAAO,MAAM,iCAAiC,CAAC;AAE3D,MAAM,CAAC,MAAM,MAAM,GAAiD;IAClE,OAAO,EAAE,OAAO,CAAC,aAAa;IAC9B,QAAQ,EAAE,OAAO,CAAC,cAAc;IAChC,SAAS,EAAE,OAAO,CAAC,eAAe;IAClC,SAAS,EAAE;QACT,YAAY,EAAE,GAAG,EAAE,CAAC,MAAM,CAAC,sCAAsC,CAAC;KACnE;IACD,QAAQ,EAAE,CAAC,OAAO,EAAE,KAAK,EAAE,SAAU,EAAE,EAAE,CACvC,IAAI,OAAO,CAAC,WAAW,CACrB,KAAK,EACL,IAAI,OAAO,CAAC,cAAc,CACxB,OAAO,EACP,gCAAgC,CAAC,OAAO,EAAE,OAAO,CAAC,SAAS,EAAE;QAC3D,CAAC,KAAK,CAAC,EAAE,SAAS;KACnB,CAAC,CACH,CACF;CACJ,CAAA;AACD,eAAe,MAAM,CAAC"}
@@ -0,0 +1,5 @@
1
+ /// <reference types="@wormhole-foundation/sdk-stacks" />
2
+ import type { PlatformDefinition } from "./index.js";
3
+ declare const stacks: () => Promise<PlatformDefinition<"Stacks">>;
4
+ export default stacks;
5
+ //# sourceMappingURL=stacks.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stacks.d.ts","sourceRoot":"","sources":["../../src/stacks.ts"],"names":[],"mappings":";AACA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,YAAY,CAAC;AACrD,QAAA,MAAM,MAAM,QAAa,QAAQ,mBAAmB,QAAQ,CAAC,CACZ,CAAC;AAClD,eAAe,MAAM,CAAC"}
@@ -0,0 +1,3 @@
1
+ const stacks = async () => (await import("./platforms/stacks.js")).default;
2
+ export default stacks;
3
+ //# sourceMappingURL=stacks.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"stacks.js","sourceRoot":"","sources":["../../src/stacks.ts"],"names":[],"mappings":"AAEA,MAAM,MAAM,GAAG,KAAK,IAA2C,EAAE,CAC/D,CAAC,MAAM,MAAM,CAAC,uBAAuB,CAAC,CAAC,CAAC,OAAO,CAAC;AAClD,eAAe,MAAM,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@wormhole-foundation/sdk",
3
- "version": "3.8.4",
3
+ "version": "3.8.6",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/wormhole-foundation/connect-sdk.git"
@@ -206,6 +206,26 @@
206
206
  "default": "./dist/cjs/platforms/sui.js"
207
207
  }
208
208
  },
209
+ "./platforms/stacks": {
210
+ "react-native": {
211
+ "import": "./dist/esm/platforms/stacks.js",
212
+ "require": "./dist/cjs/platforms/stacks.js",
213
+ "types": "./dist/cjs/platforms/stacks.d.ts",
214
+ "default": "./dist/cjs/platforms/stacks.js"
215
+ },
216
+ "require": {
217
+ "types": "./dist/cjs/platforms/stacks.d.ts",
218
+ "default": "./dist/cjs/platforms/stacks.js"
219
+ },
220
+ "import": {
221
+ "types": "./dist/esm/platforms/stacks.d.ts",
222
+ "default": "./dist/esm/platforms/stacks.js"
223
+ },
224
+ "default": {
225
+ "types": "./dist/cjs/platforms/stacks.d.ts",
226
+ "default": "./dist/cjs/platforms/stacks.js"
227
+ }
228
+ },
209
229
  "./evm": {
210
230
  "react-native": {
211
231
  "import": "./dist/esm/evm.js",
@@ -325,6 +345,26 @@
325
345
  "types": "./dist/cjs/algorand.d.ts",
326
346
  "default": "./dist/cjs/algorand.js"
327
347
  }
348
+ },
349
+ "./stacks": {
350
+ "react-native": {
351
+ "import": "./dist/esm/stacks.js",
352
+ "require": "./dist/cjs/stacks.js",
353
+ "types": "./dist/cjs/stacks.d.ts",
354
+ "default": "./dist/cjs/stacks.js"
355
+ },
356
+ "require": {
357
+ "types": "./dist/cjs/stacks.d.ts",
358
+ "default": "./dist/cjs/stacks.js"
359
+ },
360
+ "import": {
361
+ "types": "./dist/esm/stacks.d.ts",
362
+ "default": "./dist/esm/stacks.js"
363
+ },
364
+ "default": {
365
+ "types": "./dist/cjs/stacks.d.ts",
366
+ "default": "./dist/cjs/stacks.js"
367
+ }
328
368
  }
329
369
  },
330
370
  "typesVersions": {
@@ -353,6 +393,10 @@
353
393
  "dist/cjs/sui.d.ts",
354
394
  "dist/esm/sui.d.ts"
355
395
  ],
396
+ "stacks": [
397
+ "dist/cjs/stacks.d.ts",
398
+ "dist/esm/stacks.d.ts"
399
+ ],
356
400
  "platforms/algorand": [
357
401
  "dist/cjs/platforms/algorand.d.ts",
358
402
  "dist/esm/platforms/algorand.d.ts"
@@ -377,6 +421,10 @@
377
421
  "dist/cjs/platforms/sui.d.ts",
378
422
  "dist/esm/platforms/sui.d.ts"
379
423
  ],
424
+ "platforms/stacks": [
425
+ "dist/cjs/platforms/stacks.d.ts",
426
+ "dist/esm/platforms/stacks.d.ts"
427
+ ],
380
428
  "*": [
381
429
  "dist/cjs/index.d.ts",
382
430
  "dist/esm/index.d.ts"
@@ -384,35 +432,37 @@
384
432
  }
385
433
  },
386
434
  "dependencies": {
387
- "@wormhole-foundation/sdk-base": "3.8.4",
388
- "@wormhole-foundation/sdk-definitions": "3.8.4",
389
- "@wormhole-foundation/sdk-connect": "3.8.4",
390
- "@wormhole-foundation/sdk-evm": "3.8.4",
391
- "@wormhole-foundation/sdk-evm-core": "3.8.4",
392
- "@wormhole-foundation/sdk-evm-tokenbridge": "3.8.4",
393
- "@wormhole-foundation/sdk-evm-portico": "3.8.4",
394
- "@wormhole-foundation/sdk-evm-cctp": "3.8.4",
395
- "@wormhole-foundation/sdk-evm-tbtc": "3.8.4",
396
- "@wormhole-foundation/sdk-solana": "3.8.4",
397
- "@wormhole-foundation/sdk-solana-core": "3.8.4",
398
- "@wormhole-foundation/sdk-solana-tokenbridge": "3.8.4",
399
- "@wormhole-foundation/sdk-solana-cctp": "3.8.4",
400
- "@wormhole-foundation/sdk-solana-tbtc": "3.8.4",
401
- "@wormhole-foundation/sdk-cosmwasm": "3.8.4",
402
- "@wormhole-foundation/sdk-cosmwasm-core": "3.8.4",
403
- "@wormhole-foundation/sdk-cosmwasm-tokenbridge": "3.8.4",
404
- "@wormhole-foundation/sdk-cosmwasm-ibc": "3.8.4",
405
- "@wormhole-foundation/sdk-sui": "3.8.4",
406
- "@wormhole-foundation/sdk-sui-core": "3.8.4",
407
- "@wormhole-foundation/sdk-sui-tokenbridge": "3.8.4",
408
- "@wormhole-foundation/sdk-sui-cctp": "3.8.4",
409
- "@wormhole-foundation/sdk-aptos": "3.8.4",
410
- "@wormhole-foundation/sdk-aptos-core": "3.8.4",
411
- "@wormhole-foundation/sdk-aptos-tokenbridge": "3.8.4",
412
- "@wormhole-foundation/sdk-aptos-cctp": "3.8.4",
413
- "@wormhole-foundation/sdk-algorand": "3.8.4",
414
- "@wormhole-foundation/sdk-algorand-core": "3.8.4",
415
- "@wormhole-foundation/sdk-algorand-tokenbridge": "3.8.4"
435
+ "@wormhole-foundation/sdk-base": "3.8.6",
436
+ "@wormhole-foundation/sdk-definitions": "3.8.6",
437
+ "@wormhole-foundation/sdk-connect": "3.8.6",
438
+ "@wormhole-foundation/sdk-evm": "3.8.6",
439
+ "@wormhole-foundation/sdk-evm-core": "3.8.6",
440
+ "@wormhole-foundation/sdk-evm-tokenbridge": "3.8.6",
441
+ "@wormhole-foundation/sdk-evm-portico": "3.8.6",
442
+ "@wormhole-foundation/sdk-evm-cctp": "3.8.6",
443
+ "@wormhole-foundation/sdk-evm-tbtc": "3.8.6",
444
+ "@wormhole-foundation/sdk-solana": "3.8.6",
445
+ "@wormhole-foundation/sdk-solana-core": "3.8.6",
446
+ "@wormhole-foundation/sdk-solana-tokenbridge": "3.8.6",
447
+ "@wormhole-foundation/sdk-solana-cctp": "3.8.6",
448
+ "@wormhole-foundation/sdk-solana-tbtc": "3.8.6",
449
+ "@wormhole-foundation/sdk-cosmwasm": "3.8.6",
450
+ "@wormhole-foundation/sdk-cosmwasm-core": "3.8.6",
451
+ "@wormhole-foundation/sdk-cosmwasm-tokenbridge": "3.8.6",
452
+ "@wormhole-foundation/sdk-cosmwasm-ibc": "3.8.6",
453
+ "@wormhole-foundation/sdk-sui": "3.8.6",
454
+ "@wormhole-foundation/sdk-sui-core": "3.8.6",
455
+ "@wormhole-foundation/sdk-sui-tokenbridge": "3.8.6",
456
+ "@wormhole-foundation/sdk-sui-cctp": "3.8.6",
457
+ "@wormhole-foundation/sdk-aptos": "3.8.6",
458
+ "@wormhole-foundation/sdk-aptos-core": "3.8.6",
459
+ "@wormhole-foundation/sdk-aptos-tokenbridge": "3.8.6",
460
+ "@wormhole-foundation/sdk-aptos-cctp": "3.8.6",
461
+ "@wormhole-foundation/sdk-algorand": "3.8.6",
462
+ "@wormhole-foundation/sdk-algorand-core": "3.8.6",
463
+ "@wormhole-foundation/sdk-algorand-tokenbridge": "3.8.6",
464
+ "@wormhole-foundation/sdk-stacks": "3.8.6",
465
+ "@wormhole-foundation/sdk-stacks-core": "3.8.6"
416
466
  },
417
467
  "type": "module"
418
468
  }