@aptos-labs/wallet-adapter-core 2.5.0 → 2.5.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/CHANGELOG.md +6 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +7 -0
- package/dist/index.mjs +5 -0
- package/package.json +2 -2
- package/src/types.ts +1 -0
package/CHANGELOG.md
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -27,6 +27,8 @@ var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: tru
|
|
|
27
27
|
var src_exports = {};
|
|
28
28
|
__export(src_exports, {
|
|
29
29
|
NetworkName: () => NetworkName,
|
|
30
|
+
TxnBuilderTypes: () => import_aptos2.TxnBuilderTypes,
|
|
31
|
+
Types: () => import_aptos2.Types,
|
|
30
32
|
WalletCore: () => WalletCore,
|
|
31
33
|
WalletReadyState: () => WalletReadyState,
|
|
32
34
|
getLocalStorage: () => getLocalStorage,
|
|
@@ -543,9 +545,14 @@ var WalletCore = class extends import_eventemitter3.default {
|
|
|
543
545
|
}
|
|
544
546
|
}
|
|
545
547
|
};
|
|
548
|
+
|
|
549
|
+
// src/types.ts
|
|
550
|
+
var import_aptos2 = require("aptos");
|
|
546
551
|
// Annotate the CommonJS export names for ESM import in node:
|
|
547
552
|
0 && (module.exports = {
|
|
548
553
|
NetworkName,
|
|
554
|
+
TxnBuilderTypes,
|
|
555
|
+
Types,
|
|
549
556
|
WalletCore,
|
|
550
557
|
WalletReadyState,
|
|
551
558
|
getLocalStorage,
|
package/dist/index.mjs
CHANGED
|
@@ -502,8 +502,13 @@ var WalletCore = class extends EventEmitter {
|
|
|
502
502
|
}
|
|
503
503
|
}
|
|
504
504
|
};
|
|
505
|
+
|
|
506
|
+
// src/types.ts
|
|
507
|
+
import { TxnBuilderTypes as TxnBuilderTypes2, Types as Types2 } from "aptos";
|
|
505
508
|
export {
|
|
506
509
|
NetworkName,
|
|
510
|
+
TxnBuilderTypes2 as TxnBuilderTypes,
|
|
511
|
+
Types2 as Types,
|
|
507
512
|
WalletCore,
|
|
508
513
|
WalletReadyState,
|
|
509
514
|
getLocalStorage,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aptos-labs/wallet-adapter-core",
|
|
3
|
-
"version": "2.5.
|
|
3
|
+
"version": "2.5.1",
|
|
4
4
|
"description": "Aptos Wallet Adapter Core",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"module": "./dist/index.mjs",
|
|
@@ -38,7 +38,7 @@
|
|
|
38
38
|
"@aptos-labs/wallet-adapter-tsconfig": "0.0.0"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
|
-
"aptos": "^1.
|
|
41
|
+
"aptos": "^1.14.0",
|
|
42
42
|
"buffer": "^6.0.3",
|
|
43
43
|
"eventemitter3": "^4.0.7",
|
|
44
44
|
"tweetnacl": "^1.0.3"
|
package/src/types.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { Types } from "aptos";
|
|
2
2
|
import { NetworkName, WalletReadyState } from "./constants";
|
|
3
3
|
|
|
4
|
+
export { TxnBuilderTypes, Types } from "aptos";
|
|
4
5
|
// WalletName is a nominal type that wallet adapters should use, e.g. `'MyCryptoWallet' as WalletName<'MyCryptoWallet'>`
|
|
5
6
|
export type WalletName<T extends string = string> = T & {
|
|
6
7
|
__brand__: "WalletName";
|