@0xsequence/abi 3.0.0-beta.8 → 3.0.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/.turbo/turbo-build.log +2 -2
- package/.turbo/turbo-lint.log +4 -0
- package/.turbo/turbo-test.log +5 -0
- package/.turbo/turbo-typecheck.log +4 -0
- package/CHANGELOG.md +91 -0
- package/dist/index.d.ts +19 -19
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +19 -41
- package/dist/sale/erc1155Sale.js +1 -4
- package/dist/sale/erc721Sale.js +1 -4
- package/dist/tokens/erc1155.js +1 -4
- package/dist/tokens/erc1155Items.js +1 -4
- package/dist/tokens/erc20.js +1 -4
- package/dist/tokens/erc6909.js +1 -4
- package/dist/tokens/erc721.js +1 -4
- package/dist/tokens/erc721Items.js +1 -4
- package/dist/wallet/erc1271.js +2 -5
- package/dist/wallet/erc5719.js +1 -4
- package/dist/wallet/erc6492.js +1 -4
- package/dist/wallet/factory.js +1 -4
- package/dist/wallet/index.d.ts +10 -10
- package/dist/wallet/index.d.ts.map +1 -1
- package/dist/wallet/index.js +11 -47
- package/dist/wallet/libs/requireFreshSigners.js +1 -4
- package/dist/wallet/mainModule.js +1 -4
- package/dist/wallet/mainModuleUpgradable.js +1 -4
- package/dist/wallet/moduleHooks.js +1 -4
- package/dist/wallet/sequenceUtils.js +1 -4
- package/dist/wallet/walletProxyHook.js +1 -4
- package/eslint.config.js +4 -0
- package/package.json +8 -5
- package/src/index.ts +19 -19
- package/src/wallet/index.ts +10 -10
package/.turbo/turbo-build.log
CHANGED
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,96 @@
|
|
|
1
1
|
# @0xsequence/abi
|
|
2
2
|
|
|
3
|
+
## 3.0.0
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- f68be62: ethauth support
|
|
8
|
+
- 49d8a2f: New chains, minor fixes
|
|
9
|
+
- 3411232: Beta release with dapp connector fixes
|
|
10
|
+
- 23cb9e9: New chains, relayer rpc fix
|
|
11
|
+
- f5f6a7a: dapp-client updates
|
|
12
|
+
- e7de3b1: Fix signer 404 error, minor fixes
|
|
13
|
+
- 493836f: multicall3 optimization
|
|
14
|
+
- 30e1f1a: 3.0.0 beta
|
|
15
|
+
- d5017e8: Beta release for v3
|
|
16
|
+
- 24a5fab: Final RC before 3.0.0
|
|
17
|
+
- e5e1a03: Apple auth fixes
|
|
18
|
+
- 0b63113: Apple auth fix
|
|
19
|
+
- a89134a: Userdata service updates
|
|
20
|
+
- 7c6c811: 3.0.0-beta.3 with fixes
|
|
21
|
+
- 3.0.0 release
|
|
22
|
+
- 98ce38b: 3.0.0-beta.2 with identity instrument updates
|
|
23
|
+
- 747e6b5: Relayer fee options fix
|
|
24
|
+
- 40c19ff: dapp client updates for EOA login
|
|
25
|
+
- 6d5de25: 3.0.0-beta.1
|
|
26
|
+
- 934acd1: RC5 upgrade
|
|
27
|
+
|
|
28
|
+
## 3.0.0-beta.19
|
|
29
|
+
|
|
30
|
+
### Patch Changes
|
|
31
|
+
|
|
32
|
+
- Final RC before 3.0.0
|
|
33
|
+
|
|
34
|
+
## 3.0.0-beta.18
|
|
35
|
+
|
|
36
|
+
### Patch Changes
|
|
37
|
+
|
|
38
|
+
- multicall3 optimization
|
|
39
|
+
|
|
40
|
+
## 3.0.0-beta.17
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- New chains, relayer rpc fix
|
|
45
|
+
|
|
46
|
+
## 3.0.0-beta.16
|
|
47
|
+
|
|
48
|
+
### Patch Changes
|
|
49
|
+
|
|
50
|
+
- ethauth support
|
|
51
|
+
|
|
52
|
+
## 3.0.0-beta.15
|
|
53
|
+
|
|
54
|
+
### Patch Changes
|
|
55
|
+
|
|
56
|
+
- New chains, minor fixes
|
|
57
|
+
|
|
58
|
+
## 3.0.0-beta.14
|
|
59
|
+
|
|
60
|
+
### Patch Changes
|
|
61
|
+
|
|
62
|
+
- Relayer fee options fix
|
|
63
|
+
|
|
64
|
+
## 3.0.0-beta.13
|
|
65
|
+
|
|
66
|
+
### Patch Changes
|
|
67
|
+
|
|
68
|
+
- Userdata service updates
|
|
69
|
+
|
|
70
|
+
## 3.0.0-beta.12
|
|
71
|
+
|
|
72
|
+
### Patch Changes
|
|
73
|
+
|
|
74
|
+
- Beta release with dapp connector fixes
|
|
75
|
+
|
|
76
|
+
## 3.0.0-beta.11
|
|
77
|
+
|
|
78
|
+
### Patch Changes
|
|
79
|
+
|
|
80
|
+
- 3.0.0 beta
|
|
81
|
+
|
|
82
|
+
## 3.0.0-beta.10
|
|
83
|
+
|
|
84
|
+
### Patch Changes
|
|
85
|
+
|
|
86
|
+
- dapp-client updates
|
|
87
|
+
|
|
88
|
+
## 3.0.0-beta.9
|
|
89
|
+
|
|
90
|
+
### Patch Changes
|
|
91
|
+
|
|
92
|
+
- dapp client updates for EOA login
|
|
93
|
+
|
|
3
94
|
## 3.0.0-beta.8
|
|
4
95
|
|
|
5
96
|
### Patch Changes
|
package/dist/index.d.ts
CHANGED
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
export { abi as erc5719Abi } from './wallet/erc5719';
|
|
2
|
-
export { abi as erc1271Abi } from './wallet/erc1271';
|
|
3
|
-
export { abi as erc6492Abi } from './wallet/erc6492';
|
|
4
|
-
export { abi as factoryAbi } from './wallet/factory';
|
|
5
|
-
export { abi as mainModuleAbi } from './wallet/mainModule';
|
|
6
|
-
export { abi as mainModuleUpgradableAbi } from './wallet/mainModuleUpgradable';
|
|
7
|
-
export { abi as moduleHooksAbi } from './wallet/moduleHooks';
|
|
8
|
-
export { abi as sequenceUtilsAbi } from './wallet/sequenceUtils';
|
|
9
|
-
export { abi as requireFreshSignerAbi } from './wallet/libs/requireFreshSigners';
|
|
10
|
-
export { abi as walletProxyHookAbi } from './wallet/walletProxyHook';
|
|
11
|
-
export { walletContracts } from './wallet';
|
|
12
|
-
export { ERC1155_ABI } from './tokens/erc1155';
|
|
13
|
-
export { ERC1155_ITEMS_ABI } from './tokens/erc1155Items';
|
|
14
|
-
export { ERC20_ABI } from './tokens/erc20';
|
|
15
|
-
export { ERC6909_ABI } from './tokens/erc6909';
|
|
16
|
-
export { ERC721_ABI } from './tokens/erc721';
|
|
17
|
-
export { ERC721_ITEMS_ABI } from './tokens/erc721Items';
|
|
18
|
-
export { ERC1155_SALE_ABI } from './sale/erc1155Sale';
|
|
19
|
-
export { ERC721_SALE_ABI } from './sale/erc721Sale';
|
|
1
|
+
export { abi as erc5719Abi } from './wallet/erc5719.js';
|
|
2
|
+
export { abi as erc1271Abi } from './wallet/erc1271.js';
|
|
3
|
+
export { abi as erc6492Abi } from './wallet/erc6492.js';
|
|
4
|
+
export { abi as factoryAbi } from './wallet/factory.js';
|
|
5
|
+
export { abi as mainModuleAbi } from './wallet/mainModule.js';
|
|
6
|
+
export { abi as mainModuleUpgradableAbi } from './wallet/mainModuleUpgradable.js';
|
|
7
|
+
export { abi as moduleHooksAbi } from './wallet/moduleHooks.js';
|
|
8
|
+
export { abi as sequenceUtilsAbi } from './wallet/sequenceUtils.js';
|
|
9
|
+
export { abi as requireFreshSignerAbi } from './wallet/libs/requireFreshSigners.js';
|
|
10
|
+
export { abi as walletProxyHookAbi } from './wallet/walletProxyHook.js';
|
|
11
|
+
export { walletContracts } from './wallet/index.js';
|
|
12
|
+
export { ERC1155_ABI } from './tokens/erc1155.js';
|
|
13
|
+
export { ERC1155_ITEMS_ABI } from './tokens/erc1155Items.js';
|
|
14
|
+
export { ERC20_ABI } from './tokens/erc20.js';
|
|
15
|
+
export { ERC6909_ABI } from './tokens/erc6909.js';
|
|
16
|
+
export { ERC721_ABI } from './tokens/erc721.js';
|
|
17
|
+
export { ERC721_ITEMS_ABI } from './tokens/erc721Items.js';
|
|
18
|
+
export { ERC1155_SALE_ABI } from './sale/erc1155Sale.js';
|
|
19
|
+
export { ERC721_SALE_ABI } from './sale/erc721Sale.js';
|
|
20
20
|
//# sourceMappingURL=index.d.ts.map
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,qBAAqB,CAAA;AACvD,OAAO,EAAE,GAAG,IAAI,aAAa,EAAE,MAAM,wBAAwB,CAAA;AAC7D,OAAO,EAAE,GAAG,IAAI,uBAAuB,EAAE,MAAM,kCAAkC,CAAA;AACjF,OAAO,EAAE,GAAG,IAAI,cAAc,EAAE,MAAM,yBAAyB,CAAA;AAC/D,OAAO,EAAE,GAAG,IAAI,gBAAgB,EAAE,MAAM,2BAA2B,CAAA;AACnE,OAAO,EAAE,GAAG,IAAI,qBAAqB,EAAE,MAAM,sCAAsC,CAAA;AACnF,OAAO,EAAE,GAAG,IAAI,kBAAkB,EAAE,MAAM,6BAA6B,CAAA;AAEvE,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAEnD,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAA0B,CAAA;AAC5D,OAAO,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAA;AAC7C,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AACjD,OAAO,EAAE,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC/C,OAAO,EAAE,gBAAgB,EAAE,MAAM,yBAAyB,CAAA;AAE1D,OAAO,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAA;AACxD,OAAO,EAAE,eAAe,EAAE,MAAM,sBAAsB,CAAA"}
|
package/dist/index.js
CHANGED
|
@@ -1,41 +1,19 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
var requireFreshSigners_1 = require("./wallet/libs/requireFreshSigners");
|
|
21
|
-
Object.defineProperty(exports, "requireFreshSignerAbi", { enumerable: true, get: function () { return requireFreshSigners_1.abi; } });
|
|
22
|
-
var walletProxyHook_1 = require("./wallet/walletProxyHook");
|
|
23
|
-
Object.defineProperty(exports, "walletProxyHookAbi", { enumerable: true, get: function () { return walletProxyHook_1.abi; } });
|
|
24
|
-
var wallet_1 = require("./wallet");
|
|
25
|
-
Object.defineProperty(exports, "walletContracts", { enumerable: true, get: function () { return wallet_1.walletContracts; } });
|
|
26
|
-
var erc1155_1 = require("./tokens/erc1155");
|
|
27
|
-
Object.defineProperty(exports, "ERC1155_ABI", { enumerable: true, get: function () { return erc1155_1.ERC1155_ABI; } });
|
|
28
|
-
var erc1155Items_1 = require("./tokens/erc1155Items");
|
|
29
|
-
Object.defineProperty(exports, "ERC1155_ITEMS_ABI", { enumerable: true, get: function () { return erc1155Items_1.ERC1155_ITEMS_ABI; } });
|
|
30
|
-
var erc20_1 = require("./tokens/erc20");
|
|
31
|
-
Object.defineProperty(exports, "ERC20_ABI", { enumerable: true, get: function () { return erc20_1.ERC20_ABI; } });
|
|
32
|
-
var erc6909_1 = require("./tokens/erc6909");
|
|
33
|
-
Object.defineProperty(exports, "ERC6909_ABI", { enumerable: true, get: function () { return erc6909_1.ERC6909_ABI; } });
|
|
34
|
-
var erc721_1 = require("./tokens/erc721");
|
|
35
|
-
Object.defineProperty(exports, "ERC721_ABI", { enumerable: true, get: function () { return erc721_1.ERC721_ABI; } });
|
|
36
|
-
var erc721Items_1 = require("./tokens/erc721Items");
|
|
37
|
-
Object.defineProperty(exports, "ERC721_ITEMS_ABI", { enumerable: true, get: function () { return erc721Items_1.ERC721_ITEMS_ABI; } });
|
|
38
|
-
var erc1155Sale_1 = require("./sale/erc1155Sale");
|
|
39
|
-
Object.defineProperty(exports, "ERC1155_SALE_ABI", { enumerable: true, get: function () { return erc1155Sale_1.ERC1155_SALE_ABI; } });
|
|
40
|
-
var erc721Sale_1 = require("./sale/erc721Sale");
|
|
41
|
-
Object.defineProperty(exports, "ERC721_SALE_ABI", { enumerable: true, get: function () { return erc721Sale_1.ERC721_SALE_ABI; } });
|
|
1
|
+
export { abi as erc5719Abi } from './wallet/erc5719.js';
|
|
2
|
+
export { abi as erc1271Abi } from './wallet/erc1271.js';
|
|
3
|
+
export { abi as erc6492Abi } from './wallet/erc6492.js';
|
|
4
|
+
export { abi as factoryAbi } from './wallet/factory.js';
|
|
5
|
+
export { abi as mainModuleAbi } from './wallet/mainModule.js';
|
|
6
|
+
export { abi as mainModuleUpgradableAbi } from './wallet/mainModuleUpgradable.js';
|
|
7
|
+
export { abi as moduleHooksAbi } from './wallet/moduleHooks.js';
|
|
8
|
+
export { abi as sequenceUtilsAbi } from './wallet/sequenceUtils.js';
|
|
9
|
+
export { abi as requireFreshSignerAbi } from './wallet/libs/requireFreshSigners.js';
|
|
10
|
+
export { abi as walletProxyHookAbi } from './wallet/walletProxyHook.js';
|
|
11
|
+
export { walletContracts } from './wallet/index.js';
|
|
12
|
+
export { ERC1155_ABI } from './tokens/erc1155.js';
|
|
13
|
+
export { ERC1155_ITEMS_ABI } from './tokens/erc1155Items.js';
|
|
14
|
+
export { ERC20_ABI } from './tokens/erc20.js';
|
|
15
|
+
export { ERC6909_ABI } from './tokens/erc6909.js';
|
|
16
|
+
export { ERC721_ABI } from './tokens/erc721.js';
|
|
17
|
+
export { ERC721_ITEMS_ABI } from './tokens/erc721Items.js';
|
|
18
|
+
export { ERC1155_SALE_ABI } from './sale/erc1155Sale.js';
|
|
19
|
+
export { ERC721_SALE_ABI } from './sale/erc721Sale.js';
|
package/dist/sale/erc1155Sale.js
CHANGED
package/dist/sale/erc721Sale.js
CHANGED
package/dist/tokens/erc1155.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ERC1155_ABI = void 0;
|
|
4
1
|
// @openzeppelin/contracts@5.0.0/token/ERC1155/ERC1155.sol
|
|
5
|
-
|
|
2
|
+
export const ERC1155_ABI = [
|
|
6
3
|
{
|
|
7
4
|
inputs: [],
|
|
8
5
|
stateMutability: 'nonpayable',
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ERC1155_ITEMS_ABI = void 0;
|
|
4
1
|
//An ERC 1155 token contract with batchMint support, to make it compatible with Sequence Sales contracts (../sale/erc1155Sale.ts)
|
|
5
|
-
|
|
2
|
+
export const ERC1155_ITEMS_ABI = [
|
|
6
3
|
{ type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
|
|
7
4
|
{
|
|
8
5
|
type: 'function',
|
package/dist/tokens/erc20.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ERC20_ABI = void 0;
|
|
4
1
|
// @openzeppelin/contracts@5.0.0/token/ERC20/ERC20.sol
|
|
5
|
-
|
|
2
|
+
export const ERC20_ABI = [
|
|
6
3
|
{
|
|
7
4
|
inputs: [],
|
|
8
5
|
stateMutability: 'nonpayable',
|
package/dist/tokens/erc6909.js
CHANGED
package/dist/tokens/erc721.js
CHANGED
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ERC721_ABI = void 0;
|
|
4
1
|
// @openzeppelin/contracts@5.0.0/token/ERC721/ERC721.sol
|
|
5
|
-
|
|
2
|
+
export const ERC721_ABI = [
|
|
6
3
|
{
|
|
7
4
|
inputs: [],
|
|
8
5
|
stateMutability: 'nonpayable',
|
|
@@ -1,8 +1,5 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.ERC721_ITEMS_ABI = void 0;
|
|
4
1
|
//An ERC 721 token contract with batchMint support, to make it compatible with Sequence Sales contracts (../sale/erc721Sale.ts)
|
|
5
|
-
|
|
2
|
+
export const ERC721_ITEMS_ABI = [
|
|
6
3
|
{ type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
|
|
7
4
|
{
|
|
8
5
|
type: 'function',
|
package/dist/wallet/erc1271.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.returns = exports.abi = void 0;
|
|
4
|
-
exports.abi = [
|
|
1
|
+
export const abi = [
|
|
5
2
|
{
|
|
6
3
|
type: 'function',
|
|
7
4
|
name: 'isValidSignature',
|
|
@@ -23,6 +20,6 @@ exports.abi = [
|
|
|
23
20
|
stateMutability: 'view',
|
|
24
21
|
},
|
|
25
22
|
];
|
|
26
|
-
|
|
23
|
+
export const returns = {
|
|
27
24
|
isValidSignatureBytes32: '0x1626ba7e',
|
|
28
25
|
};
|
package/dist/wallet/erc5719.js
CHANGED
package/dist/wallet/erc6492.js
CHANGED
|
@@ -1,7 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
-
exports.abi = void 0;
|
|
4
|
-
exports.abi = [
|
|
1
|
+
export const abi = [
|
|
5
2
|
{ inputs: [{ internalType: 'bytes', name: 'error', type: 'bytes' }], name: 'ERC1271Revert', type: 'error' },
|
|
6
3
|
{ inputs: [{ internalType: 'bytes', name: 'error', type: 'bytes' }], name: 'ERC6492DeployFailed', type: 'error' },
|
|
7
4
|
{
|
package/dist/wallet/factory.js
CHANGED
package/dist/wallet/index.d.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as erc5719 from './erc5719';
|
|
2
|
-
import * as erc1271 from './erc1271';
|
|
3
|
-
import * as erc6492 from './erc6492';
|
|
4
|
-
import * as factory from './factory';
|
|
5
|
-
import * as mainModule from './mainModule';
|
|
6
|
-
import * as mainModuleUpgradable from './mainModuleUpgradable';
|
|
7
|
-
import * as moduleHooks from './moduleHooks';
|
|
8
|
-
import * as sequenceUtils from './sequenceUtils';
|
|
9
|
-
import * as requireFreshSigner from './libs/requireFreshSigners';
|
|
10
|
-
import * as walletProxyHook from './walletProxyHook';
|
|
1
|
+
import * as erc5719 from './erc5719.js';
|
|
2
|
+
import * as erc1271 from './erc1271.js';
|
|
3
|
+
import * as erc6492 from './erc6492.js';
|
|
4
|
+
import * as factory from './factory.js';
|
|
5
|
+
import * as mainModule from './mainModule.js';
|
|
6
|
+
import * as mainModuleUpgradable from './mainModuleUpgradable.js';
|
|
7
|
+
import * as moduleHooks from './moduleHooks.js';
|
|
8
|
+
import * as sequenceUtils from './sequenceUtils.js';
|
|
9
|
+
import * as requireFreshSigner from './libs/requireFreshSigners.js';
|
|
10
|
+
import * as walletProxyHook from './walletProxyHook.js';
|
|
11
11
|
/**
|
|
12
12
|
* @deprecated import directly from @0xsequence/abi/* instead, omitting "walletContracts"
|
|
13
13
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/wallet/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/wallet/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,KAAK,OAAO,MAAM,cAAc,CAAA;AACvC,OAAO,KAAK,UAAU,MAAM,iBAAiB,CAAA;AAC7C,OAAO,KAAK,oBAAoB,MAAM,2BAA2B,CAAA;AACjE,OAAO,KAAK,WAAW,MAAM,kBAAkB,CAAA;AAC/C,OAAO,KAAK,aAAa,MAAM,oBAAoB,CAAA;AACnD,OAAO,KAAK,kBAAkB,MAAM,+BAA+B,CAAA;AACnE,OAAO,KAAK,eAAe,MAAM,sBAAsB,CAAA;AAEvD;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;CAW3B,CAAA"}
|
package/dist/wallet/index.js
CHANGED
|
@@ -1,53 +1,17 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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 () {
|
|
19
|
-
var ownKeys = function(o) {
|
|
20
|
-
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
-
var ar = [];
|
|
22
|
-
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
-
return ar;
|
|
24
|
-
};
|
|
25
|
-
return ownKeys(o);
|
|
26
|
-
};
|
|
27
|
-
return function (mod) {
|
|
28
|
-
if (mod && mod.__esModule) return mod;
|
|
29
|
-
var result = {};
|
|
30
|
-
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
-
__setModuleDefault(result, mod);
|
|
32
|
-
return result;
|
|
33
|
-
};
|
|
34
|
-
})();
|
|
35
|
-
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.walletContracts = void 0;
|
|
37
|
-
const erc5719 = __importStar(require("./erc5719"));
|
|
38
|
-
const erc1271 = __importStar(require("./erc1271"));
|
|
39
|
-
const erc6492 = __importStar(require("./erc6492"));
|
|
40
|
-
const factory = __importStar(require("./factory"));
|
|
41
|
-
const mainModule = __importStar(require("./mainModule"));
|
|
42
|
-
const mainModuleUpgradable = __importStar(require("./mainModuleUpgradable"));
|
|
43
|
-
const moduleHooks = __importStar(require("./moduleHooks"));
|
|
44
|
-
const sequenceUtils = __importStar(require("./sequenceUtils"));
|
|
45
|
-
const requireFreshSigner = __importStar(require("./libs/requireFreshSigners"));
|
|
46
|
-
const walletProxyHook = __importStar(require("./walletProxyHook"));
|
|
1
|
+
import * as erc5719 from './erc5719.js';
|
|
2
|
+
import * as erc1271 from './erc1271.js';
|
|
3
|
+
import * as erc6492 from './erc6492.js';
|
|
4
|
+
import * as factory from './factory.js';
|
|
5
|
+
import * as mainModule from './mainModule.js';
|
|
6
|
+
import * as mainModuleUpgradable from './mainModuleUpgradable.js';
|
|
7
|
+
import * as moduleHooks from './moduleHooks.js';
|
|
8
|
+
import * as sequenceUtils from './sequenceUtils.js';
|
|
9
|
+
import * as requireFreshSigner from './libs/requireFreshSigners.js';
|
|
10
|
+
import * as walletProxyHook from './walletProxyHook.js';
|
|
47
11
|
/**
|
|
48
12
|
* @deprecated import directly from @0xsequence/abi/* instead, omitting "walletContracts"
|
|
49
13
|
*/
|
|
50
|
-
|
|
14
|
+
export const walletContracts = {
|
|
51
15
|
erc6492,
|
|
52
16
|
erc5719,
|
|
53
17
|
erc1271,
|
package/eslint.config.js
ADDED
package/package.json
CHANGED
|
@@ -1,13 +1,14 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@0xsequence/abi",
|
|
3
|
-
"version": "3.0.0
|
|
3
|
+
"version": "3.0.0",
|
|
4
4
|
"description": "abi sub-package for Sequence",
|
|
5
5
|
"repository": "https://github.com/0xsequence/sequence.js/tree/master/packages/utils/abi",
|
|
6
|
-
"author": "Sequence Platforms
|
|
6
|
+
"author": "Sequence Platforms ULC",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"publishConfig": {
|
|
9
9
|
"access": "public"
|
|
10
10
|
},
|
|
11
|
+
"type": "module",
|
|
11
12
|
"exports": {
|
|
12
13
|
".": {
|
|
13
14
|
"types": "./dist/index.d.ts",
|
|
@@ -15,14 +16,16 @@
|
|
|
15
16
|
}
|
|
16
17
|
},
|
|
17
18
|
"devDependencies": {
|
|
18
|
-
"@types/node": "^25.0
|
|
19
|
+
"@types/node": "^25.3.0",
|
|
19
20
|
"typescript": "^5.9.3",
|
|
20
|
-
"@repo/
|
|
21
|
+
"@repo/eslint-config": "^0.0.1",
|
|
22
|
+
"@repo/typescript-config": "^0.0.1"
|
|
21
23
|
},
|
|
22
24
|
"scripts": {
|
|
23
25
|
"build": "tsc",
|
|
24
26
|
"dev": "tsc --watch",
|
|
25
27
|
"test": "echo",
|
|
26
|
-
"typecheck": "tsc --noEmit"
|
|
28
|
+
"typecheck": "tsc --noEmit",
|
|
29
|
+
"lint": "eslint . --max-warnings 0"
|
|
27
30
|
}
|
|
28
31
|
}
|
package/src/index.ts
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
export { abi as erc5719Abi } from './wallet/erc5719'
|
|
2
|
-
export { abi as erc1271Abi } from './wallet/erc1271'
|
|
3
|
-
export { abi as erc6492Abi } from './wallet/erc6492'
|
|
4
|
-
export { abi as factoryAbi } from './wallet/factory'
|
|
5
|
-
export { abi as mainModuleAbi } from './wallet/mainModule'
|
|
6
|
-
export { abi as mainModuleUpgradableAbi } from './wallet/mainModuleUpgradable'
|
|
7
|
-
export { abi as moduleHooksAbi } from './wallet/moduleHooks'
|
|
8
|
-
export { abi as sequenceUtilsAbi } from './wallet/sequenceUtils'
|
|
9
|
-
export { abi as requireFreshSignerAbi } from './wallet/libs/requireFreshSigners'
|
|
10
|
-
export { abi as walletProxyHookAbi } from './wallet/walletProxyHook'
|
|
1
|
+
export { abi as erc5719Abi } from './wallet/erc5719.js'
|
|
2
|
+
export { abi as erc1271Abi } from './wallet/erc1271.js'
|
|
3
|
+
export { abi as erc6492Abi } from './wallet/erc6492.js'
|
|
4
|
+
export { abi as factoryAbi } from './wallet/factory.js'
|
|
5
|
+
export { abi as mainModuleAbi } from './wallet/mainModule.js'
|
|
6
|
+
export { abi as mainModuleUpgradableAbi } from './wallet/mainModuleUpgradable.js'
|
|
7
|
+
export { abi as moduleHooksAbi } from './wallet/moduleHooks.js'
|
|
8
|
+
export { abi as sequenceUtilsAbi } from './wallet/sequenceUtils.js'
|
|
9
|
+
export { abi as requireFreshSignerAbi } from './wallet/libs/requireFreshSigners.js'
|
|
10
|
+
export { abi as walletProxyHookAbi } from './wallet/walletProxyHook.js'
|
|
11
11
|
|
|
12
|
-
export { walletContracts } from './wallet'
|
|
12
|
+
export { walletContracts } from './wallet/index.js'
|
|
13
13
|
|
|
14
|
-
export { ERC1155_ABI } from './tokens/erc1155'
|
|
15
|
-
export { ERC1155_ITEMS_ABI } from './tokens/erc1155Items'
|
|
16
|
-
export { ERC20_ABI } from './tokens/erc20'
|
|
17
|
-
export { ERC6909_ABI } from './tokens/erc6909'
|
|
18
|
-
export { ERC721_ABI } from './tokens/erc721'
|
|
19
|
-
export { ERC721_ITEMS_ABI } from './tokens/erc721Items'
|
|
14
|
+
export { ERC1155_ABI } from './tokens/erc1155.js'
|
|
15
|
+
export { ERC1155_ITEMS_ABI } from './tokens/erc1155Items.js'
|
|
16
|
+
export { ERC20_ABI } from './tokens/erc20.js'
|
|
17
|
+
export { ERC6909_ABI } from './tokens/erc6909.js'
|
|
18
|
+
export { ERC721_ABI } from './tokens/erc721.js'
|
|
19
|
+
export { ERC721_ITEMS_ABI } from './tokens/erc721Items.js'
|
|
20
20
|
|
|
21
|
-
export { ERC1155_SALE_ABI } from './sale/erc1155Sale'
|
|
22
|
-
export { ERC721_SALE_ABI } from './sale/erc721Sale'
|
|
21
|
+
export { ERC1155_SALE_ABI } from './sale/erc1155Sale.js'
|
|
22
|
+
export { ERC721_SALE_ABI } from './sale/erc721Sale.js'
|
package/src/wallet/index.ts
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
import * as erc5719 from './erc5719'
|
|
2
|
-
import * as erc1271 from './erc1271'
|
|
3
|
-
import * as erc6492 from './erc6492'
|
|
4
|
-
import * as factory from './factory'
|
|
5
|
-
import * as mainModule from './mainModule'
|
|
6
|
-
import * as mainModuleUpgradable from './mainModuleUpgradable'
|
|
7
|
-
import * as moduleHooks from './moduleHooks'
|
|
8
|
-
import * as sequenceUtils from './sequenceUtils'
|
|
9
|
-
import * as requireFreshSigner from './libs/requireFreshSigners'
|
|
10
|
-
import * as walletProxyHook from './walletProxyHook'
|
|
1
|
+
import * as erc5719 from './erc5719.js'
|
|
2
|
+
import * as erc1271 from './erc1271.js'
|
|
3
|
+
import * as erc6492 from './erc6492.js'
|
|
4
|
+
import * as factory from './factory.js'
|
|
5
|
+
import * as mainModule from './mainModule.js'
|
|
6
|
+
import * as mainModuleUpgradable from './mainModuleUpgradable.js'
|
|
7
|
+
import * as moduleHooks from './moduleHooks.js'
|
|
8
|
+
import * as sequenceUtils from './sequenceUtils.js'
|
|
9
|
+
import * as requireFreshSigner from './libs/requireFreshSigners.js'
|
|
10
|
+
import * as walletProxyHook from './walletProxyHook.js'
|
|
11
11
|
|
|
12
12
|
/**
|
|
13
13
|
* @deprecated import directly from @0xsequence/abi/* instead, omitting "walletContracts"
|