@0xsequence/abi 3.0.0-beta.9 → 3.0.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.
@@ -1,5 +1,5 @@
1
1
 
2
- 
3
- > @0xsequence/abi@3.0.0-beta.9 build /Users/taylan/Development/Horizon/sequence.js/packages/utils/abi
2
+
3
+ > @0xsequence/abi@3.0.1 build /home/taylan/development/sequence/sequence.js/packages/utils/abi
4
4
  > tsc
5
5
 
@@ -0,0 +1,4 @@
1
+
2
+ > @0xsequence/abi@3.0.1 lint /home/taylan/development/sequence/sequence.js/packages/utils/abi
3
+ > eslint . --max-warnings 0
4
+
@@ -0,0 +1,5 @@
1
+
2
+ > @0xsequence/abi@3.0.0 test /home/taylan/development/sequence/sequence.js/packages/utils/abi
3
+ > echo
4
+
5
+
@@ -0,0 +1,4 @@
1
+
2
+ > @0xsequence/abi@3.0.1 typecheck /home/taylan/development/sequence/sequence.js/packages/utils/abi
3
+ > tsc --noEmit
4
+
package/CHANGELOG.md CHANGED
@@ -1,5 +1,96 @@
1
1
  # @0xsequence/abi
2
2
 
3
+ ## 3.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - Network and session fixes
8
+
9
+ ## 3.0.0
10
+
11
+ ### Patch Changes
12
+
13
+ - f68be62: ethauth support
14
+ - 49d8a2f: New chains, minor fixes
15
+ - 3411232: Beta release with dapp connector fixes
16
+ - 23cb9e9: New chains, relayer rpc fix
17
+ - f5f6a7a: dapp-client updates
18
+ - e7de3b1: Fix signer 404 error, minor fixes
19
+ - 493836f: multicall3 optimization
20
+ - 30e1f1a: 3.0.0 beta
21
+ - d5017e8: Beta release for v3
22
+ - 24a5fab: Final RC before 3.0.0
23
+ - e5e1a03: Apple auth fixes
24
+ - 0b63113: Apple auth fix
25
+ - a89134a: Userdata service updates
26
+ - 7c6c811: 3.0.0-beta.3 with fixes
27
+ - 3.0.0 release
28
+ - 98ce38b: 3.0.0-beta.2 with identity instrument updates
29
+ - 747e6b5: Relayer fee options fix
30
+ - 40c19ff: dapp client updates for EOA login
31
+ - 6d5de25: 3.0.0-beta.1
32
+ - 934acd1: RC5 upgrade
33
+
34
+ ## 3.0.0-beta.19
35
+
36
+ ### Patch Changes
37
+
38
+ - Final RC before 3.0.0
39
+
40
+ ## 3.0.0-beta.18
41
+
42
+ ### Patch Changes
43
+
44
+ - multicall3 optimization
45
+
46
+ ## 3.0.0-beta.17
47
+
48
+ ### Patch Changes
49
+
50
+ - New chains, relayer rpc fix
51
+
52
+ ## 3.0.0-beta.16
53
+
54
+ ### Patch Changes
55
+
56
+ - ethauth support
57
+
58
+ ## 3.0.0-beta.15
59
+
60
+ ### Patch Changes
61
+
62
+ - New chains, minor fixes
63
+
64
+ ## 3.0.0-beta.14
65
+
66
+ ### Patch Changes
67
+
68
+ - Relayer fee options fix
69
+
70
+ ## 3.0.0-beta.13
71
+
72
+ ### Patch Changes
73
+
74
+ - Userdata service updates
75
+
76
+ ## 3.0.0-beta.12
77
+
78
+ ### Patch Changes
79
+
80
+ - Beta release with dapp connector fixes
81
+
82
+ ## 3.0.0-beta.11
83
+
84
+ ### Patch Changes
85
+
86
+ - 3.0.0 beta
87
+
88
+ ## 3.0.0-beta.10
89
+
90
+ ### Patch Changes
91
+
92
+ - dapp-client updates
93
+
3
94
  ## 3.0.0-beta.9
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
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,GAAG,IAAI,UAAU,EAAE,MAAM,kBAAkB,CAAA;AACpD,OAAO,EAAE,GAAG,IAAI,aAAa,EAAE,MAAM,qBAAqB,CAAA;AAC1D,OAAO,EAAE,GAAG,IAAI,uBAAuB,EAAE,MAAM,+BAA+B,CAAA;AAC9E,OAAO,EAAE,GAAG,IAAI,cAAc,EAAE,MAAM,sBAAsB,CAAA;AAC5D,OAAO,EAAE,GAAG,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAA;AAChE,OAAO,EAAE,GAAG,IAAI,qBAAqB,EAAE,MAAM,mCAAmC,CAAA;AAChF,OAAO,EAAE,GAAG,IAAI,kBAAkB,EAAE,MAAM,0BAA0B,CAAA;AAEpE,OAAO,EAAE,eAAe,EAAE,MAAM,UAAU,CAAA;AAE1C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,iBAAiB,EAAE,MAAM,uBAAuB,CAAA;AACzD,OAAO,EAAE,SAAS,EAAE,MAAM,gBAAgB,CAAA;AAC1C,OAAO,EAAE,WAAW,EAAE,MAAM,kBAAkB,CAAA;AAC9C,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAA;AAC5C,OAAO,EAAE,gBAAgB,EAAE,MAAM,sBAAsB,CAAA;AAEvD,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAA;AACrD,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA"}
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
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ERC721_SALE_ABI = exports.ERC1155_SALE_ABI = exports.ERC721_ITEMS_ABI = exports.ERC721_ABI = exports.ERC6909_ABI = exports.ERC20_ABI = exports.ERC1155_ITEMS_ABI = exports.ERC1155_ABI = exports.walletContracts = exports.walletProxyHookAbi = exports.requireFreshSignerAbi = exports.sequenceUtilsAbi = exports.moduleHooksAbi = exports.mainModuleUpgradableAbi = exports.mainModuleAbi = exports.factoryAbi = exports.erc6492Abi = exports.erc1271Abi = exports.erc5719Abi = void 0;
4
- var erc5719_1 = require("./wallet/erc5719");
5
- Object.defineProperty(exports, "erc5719Abi", { enumerable: true, get: function () { return erc5719_1.abi; } });
6
- var erc1271_1 = require("./wallet/erc1271");
7
- Object.defineProperty(exports, "erc1271Abi", { enumerable: true, get: function () { return erc1271_1.abi; } });
8
- var erc6492_1 = require("./wallet/erc6492");
9
- Object.defineProperty(exports, "erc6492Abi", { enumerable: true, get: function () { return erc6492_1.abi; } });
10
- var factory_1 = require("./wallet/factory");
11
- Object.defineProperty(exports, "factoryAbi", { enumerable: true, get: function () { return factory_1.abi; } });
12
- var mainModule_1 = require("./wallet/mainModule");
13
- Object.defineProperty(exports, "mainModuleAbi", { enumerable: true, get: function () { return mainModule_1.abi; } });
14
- var mainModuleUpgradable_1 = require("./wallet/mainModuleUpgradable");
15
- Object.defineProperty(exports, "mainModuleUpgradableAbi", { enumerable: true, get: function () { return mainModuleUpgradable_1.abi; } });
16
- var moduleHooks_1 = require("./wallet/moduleHooks");
17
- Object.defineProperty(exports, "moduleHooksAbi", { enumerable: true, get: function () { return moduleHooks_1.abi; } });
18
- var sequenceUtils_1 = require("./wallet/sequenceUtils");
19
- Object.defineProperty(exports, "sequenceUtilsAbi", { enumerable: true, get: function () { return sequenceUtils_1.abi; } });
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';
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ERC1155_SALE_ABI = void 0;
4
- exports.ERC1155_SALE_ABI = [
1
+ export const ERC1155_SALE_ABI = [
5
2
  {
6
3
  type: 'function',
7
4
  name: 'DEFAULT_ADMIN_ROLE',
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ERC721_SALE_ABI = void 0;
4
- exports.ERC721_SALE_ABI = [
1
+ export const ERC721_SALE_ABI = [
5
2
  {
6
3
  type: 'function',
7
4
  name: 'DEFAULT_ADMIN_ROLE',
@@ -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
- exports.ERC1155_ABI = [
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
- exports.ERC1155_ITEMS_ABI = [
2
+ export const ERC1155_ITEMS_ABI = [
6
3
  { type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
7
4
  {
8
5
  type: 'function',
@@ -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
- exports.ERC20_ABI = [
2
+ export const ERC20_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.ERC6909_ABI = void 0;
4
1
  // @openzeppelin/contracts@5.0.0/token/ERC6909/ERC6909.sol
5
- exports.ERC6909_ABI = [
2
+ export const ERC6909_ABI = [
6
3
  {
7
4
  inputs: [
8
5
  {
@@ -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
- exports.ERC721_ABI = [
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
- exports.ERC721_ITEMS_ABI = [
2
+ export const ERC721_ITEMS_ABI = [
6
3
  { type: 'constructor', inputs: [], stateMutability: 'nonpayable' },
7
4
  {
8
5
  type: 'function',
@@ -1,7 +1,4 @@
1
- "use strict";
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
- exports.returns = {
23
+ export const returns = {
27
24
  isValidSignatureBytes32: '0x1626ba7e',
28
25
  };
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.abi = void 0;
4
- exports.abi = [
1
+ export const abi = [
5
2
  {
6
3
  inputs: [
7
4
  {
@@ -1,7 +1,4 @@
1
- "use strict";
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
  {
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.abi = void 0;
4
- exports.abi = [
1
+ export const abi = [
5
2
  {
6
3
  type: 'function',
7
4
  name: 'deploy',
@@ -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,WAAW,CAAA;AACpC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAA;AACpC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAA;AACpC,OAAO,KAAK,OAAO,MAAM,WAAW,CAAA;AACpC,OAAO,KAAK,UAAU,MAAM,cAAc,CAAA;AAC1C,OAAO,KAAK,oBAAoB,MAAM,wBAAwB,CAAA;AAC9D,OAAO,KAAK,WAAW,MAAM,eAAe,CAAA;AAC5C,OAAO,KAAK,aAAa,MAAM,iBAAiB,CAAA;AAChD,OAAO,KAAK,kBAAkB,MAAM,4BAA4B,CAAA;AAChE,OAAO,KAAK,eAAe,MAAM,mBAAmB,CAAA;AAEpD;;GAEG;AACH,eAAO,MAAM,eAAe;;;;;;;;;;;CAW3B,CAAA"}
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"}
@@ -1,53 +1,17 @@
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 () {
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
- exports.walletContracts = {
14
+ export const walletContracts = {
51
15
  erc6492,
52
16
  erc5719,
53
17
  erc1271,
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.abi = void 0;
4
- exports.abi = [
1
+ export const abi = [
5
2
  {
6
3
  inputs: [
7
4
  {
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.abi = void 0;
4
- exports.abi = [
1
+ export const abi = [
5
2
  {
6
3
  type: 'function',
7
4
  name: 'nonce',
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.abi = void 0;
4
- exports.abi = [
1
+ export const abi = [
5
2
  {
6
3
  type: 'function',
7
4
  name: 'updateImageHash',
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.abi = void 0;
4
- exports.abi = [
1
+ export const abi = [
5
2
  {
6
3
  inputs: [
7
4
  {
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.abi = void 0;
4
- exports.abi = [
1
+ export const abi = [
5
2
  {
6
3
  inputs: [
7
4
  {
@@ -1,7 +1,4 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.abi = void 0;
4
- exports.abi = [
1
+ export const abi = [
5
2
  {
6
3
  type: 'function',
7
4
  name: 'PROXY_getImplementation',
@@ -0,0 +1,4 @@
1
+ import { config as baseConfig } from "@repo/eslint-config/base"
2
+
3
+ /** @type {import("eslint").Linter.Config} */
4
+ export default baseConfig
package/package.json CHANGED
@@ -1,13 +1,14 @@
1
1
  {
2
2
  "name": "@0xsequence/abi",
3
- "version": "3.0.0-beta.9",
3
+ "version": "3.0.1",
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 Inc.",
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.2",
19
+ "@types/node": "^25.3.0",
19
20
  "typescript": "^5.9.3",
20
- "@repo/typescript-config": "^0.0.1-beta.1"
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'
@@ -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"