@waku/rln 0.1.5-ff0222a.0 → 0.1.6-b7e9b08.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/CHANGELOG.md +22 -0
- package/bundle/_virtual/index2.js +1 -1
- package/bundle/index.js +2 -2
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/checksum.js +3 -3
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/cipher.js +4 -4
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/class.js +7 -7
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/functional.js +7 -7
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/index.js +6 -6
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/kdf.js +5 -5
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/password.js +1 -1
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/schema-validation-generated.js +1 -1
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/schema-validation.js +2 -2
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/types.js +1 -1
- package/bundle/{packages/rln → node_modules/@chainsafe/bls-keystore}/node_modules/@noble/hashes/_assert.js +1 -1
- package/bundle/{packages/rln → node_modules/@chainsafe/bls-keystore}/node_modules/@noble/hashes/_sha2.js +3 -3
- package/bundle/{packages/rln → node_modules/@chainsafe/bls-keystore}/node_modules/@noble/hashes/_u64.js +1 -1
- package/bundle/{packages/rln → node_modules/@chainsafe/bls-keystore}/node_modules/@noble/hashes/cryptoBrowser.js +1 -1
- package/bundle/{packages/rln → node_modules/@chainsafe/bls-keystore}/node_modules/@noble/hashes/hmac.js +3 -3
- package/bundle/{packages/rln → node_modules/@chainsafe/bls-keystore}/node_modules/@noble/hashes/pbkdf2.js +4 -4
- package/bundle/{packages/rln → node_modules/@chainsafe/bls-keystore}/node_modules/@noble/hashes/scrypt.js +5 -5
- package/bundle/{packages/rln → node_modules/@chainsafe/bls-keystore}/node_modules/@noble/hashes/sha256.js +3 -3
- package/bundle/{packages/rln → node_modules/@chainsafe/bls-keystore}/node_modules/@noble/hashes/sha512.js +4 -4
- package/bundle/{packages/rln → node_modules/@chainsafe/bls-keystore}/node_modules/@noble/hashes/utils.js +2 -2
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/ethereum-cryptography/aes.js +3 -3
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/ethereum-cryptography/pbkdf2.js +7 -7
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/ethereum-cryptography/random.js +3 -3
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/ethereum-cryptography/scrypt.js +3 -3
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/ethereum-cryptography/sha256.js +3 -3
- package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/ethereum-cryptography/utils.js +7 -7
- package/bundle/node_modules/@ethersproject/abi/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@ethersproject/abstract-provider/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@ethersproject/abstract-signer/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@ethersproject/address/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@ethersproject/bignumber/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@ethersproject/contracts/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@ethersproject/contracts/lib.esm/index.js +1 -1
- package/bundle/node_modules/@ethersproject/hash/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@ethersproject/networks/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@ethersproject/networks/lib.esm/index.js +19 -1
- package/bundle/node_modules/@ethersproject/properties/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@ethersproject/providers/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@ethersproject/signing-key/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@ethersproject/signing-key/lib.esm/elliptic.js +58 -10
- package/bundle/node_modules/@ethersproject/strings/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@ethersproject/transactions/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@ethersproject/web/lib.esm/_version.js +1 -1
- package/bundle/node_modules/@noble/hashes/esm/_assert.js +6 -32
- package/bundle/node_modules/@noble/hashes/esm/_md.js +22 -11
- package/bundle/node_modules/@noble/hashes/esm/_u64.js +4 -3
- package/bundle/{packages/rln/node_modules → node_modules}/@noble/hashes/esm/hmac.js +19 -10
- package/bundle/{packages/rln/node_modules/@noble/hashes/esm/sha256.js → node_modules/@noble/hashes/esm/sha2.js} +36 -50
- package/bundle/node_modules/@noble/hashes/esm/sha256.js +5 -102
- package/bundle/node_modules/@noble/hashes/esm/sha3.js +30 -24
- package/bundle/node_modules/@noble/hashes/esm/utils.js +69 -18
- package/bundle/node_modules/bn.js/lib/bn.js +1 -0
- package/bundle/node_modules/ethereum-cryptography/esm/sha256.js +1 -1
- package/bundle/packages/core/dist/lib/connection_manager/connection_manager.js +3 -0
- package/bundle/packages/core/dist/lib/connection_manager/keep_alive_manager.js +3 -3
- package/bundle/packages/core/dist/lib/filter/filter.js +3 -0
- package/bundle/packages/core/dist/lib/light_push/light_push.js +3 -0
- package/bundle/packages/core/dist/lib/metadata/metadata.js +3 -0
- package/bundle/packages/core/dist/lib/store/store.js +3 -3
- package/bundle/packages/proto/dist/generated/sds_message.js +59 -3
- package/bundle/packages/rln/dist/codec.js +3 -3
- package/bundle/packages/rln/dist/contract/constants.js +1 -1
- package/bundle/packages/rln/dist/contract/{rln_light_contract.js → rln_base_contract.js} +180 -180
- package/bundle/packages/rln/dist/contract/rln_contract.js +12 -422
- package/bundle/packages/rln/dist/contract/types.js +9 -0
- package/bundle/packages/rln/dist/create.js +1 -1
- package/bundle/packages/rln/dist/credentials_manager.js +215 -0
- package/bundle/packages/rln/dist/identity.js +0 -9
- package/bundle/packages/rln/dist/keystore/cipher.js +3 -3
- package/bundle/packages/rln/dist/keystore/keystore.js +32 -18
- package/bundle/packages/rln/dist/rln.js +59 -169
- package/bundle/packages/rln/dist/utils/epoch.js +3 -3
- package/bundle/packages/rln/dist/zerokit.js +5 -5
- package/bundle/packages/utils/dist/common/sharding/index.js +4 -4
- package/bundle/packages/utils/node_modules/@waku/interfaces/dist/connection_manager.js +19 -0
- package/bundle/packages/utils/node_modules/@waku/interfaces/dist/health_indicator.js +12 -0
- package/bundle/packages/utils/node_modules/@waku/interfaces/dist/protocols.js +92 -0
- package/dist/.tsbuildinfo +1 -1
- package/dist/contract/constants.d.ts +1 -1
- package/dist/contract/constants.js +1 -1
- package/dist/contract/constants.js.map +1 -1
- package/dist/contract/{rln_light_contract.d.ts → rln_base_contract.d.ts} +25 -53
- package/dist/contract/{rln_light_contract.js → rln_base_contract.js} +177 -177
- package/dist/contract/rln_base_contract.js.map +1 -0
- package/dist/contract/rln_contract.d.ts +5 -122
- package/dist/contract/rln_contract.js +8 -417
- package/dist/contract/rln_contract.js.map +1 -1
- package/dist/contract/types.d.ts +40 -0
- package/dist/contract/types.js +8 -0
- package/dist/contract/types.js.map +1 -0
- package/dist/create.js +1 -1
- package/dist/create.js.map +1 -1
- package/dist/credentials_manager.d.ts +44 -0
- package/dist/credentials_manager.js +197 -0
- package/dist/credentials_manager.js.map +1 -0
- package/dist/identity.d.ts +0 -1
- package/dist/identity.js +0 -9
- package/dist/identity.js.map +1 -1
- package/dist/index.d.ts +3 -3
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/keystore/keystore.d.ts +1 -0
- package/dist/keystore/keystore.js +27 -13
- package/dist/keystore/keystore.js.map +1 -1
- package/dist/rln.d.ts +9 -52
- package/dist/rln.js +54 -163
- package/dist/rln.js.map +1 -1
- package/dist/types.d.ts +27 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/dist/zerokit.d.ts +3 -3
- package/dist/zerokit.js +5 -5
- package/dist/zerokit.js.map +1 -1
- package/package.json +1 -1
- package/src/contract/constants.ts +1 -1
- package/src/contract/{rln_light_contract.ts → rln_base_contract.ts} +294 -312
- package/src/contract/rln_contract.ts +9 -663
- package/src/contract/types.ts +48 -0
- package/src/create.ts +1 -1
- package/src/credentials_manager.ts +282 -0
- package/src/identity.ts +0 -10
- package/src/index.ts +4 -4
- package/src/keystore/keystore.ts +49 -25
- package/src/rln.ts +67 -258
- package/src/types.ts +31 -0
- package/src/zerokit.ts +3 -3
- package/bundle/packages/rln/dist/rln_light.js +0 -149
- package/bundle/packages/rln/node_modules/@noble/hashes/esm/_assert.js +0 -43
- package/bundle/packages/rln/node_modules/@noble/hashes/esm/_sha2.js +0 -116
- package/bundle/packages/rln/node_modules/@noble/hashes/esm/utils.js +0 -43
- package/dist/contract/rln_light_contract.js.map +0 -1
- package/dist/rln_light.d.ts +0 -64
- package/dist/rln_light.js +0 -144
- package/dist/rln_light.js.map +0 -1
- package/src/rln_light.ts +0 -235
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/index.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/md5.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/nil.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/parse.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/regex.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/rng.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/sha1.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/stringify.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/v1.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/v3.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/v35.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/v4.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/v5.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/validate.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/version.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/uuid/dist/esm-browser/native.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/uuid/dist/esm-browser/rng.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/uuid/dist/esm-browser/stringify.js +0 -0
- /package/bundle/{packages/rln/node_modules → node_modules}/uuid/dist/esm-browser/v4.js +0 -0
- /package/bundle/packages/{interfaces → utils/node_modules/@waku/interfaces}/dist/constants.js +0 -0
package/CHANGELOG.md
CHANGED
@@ -1,5 +1,27 @@
|
|
1
1
|
# Changelog
|
2
2
|
|
3
|
+
## [0.1.5](https://github.com/waku-org/js-waku/compare/rln-v0.1.4...rln-v0.1.5) (2025-04-23)
|
4
|
+
|
5
|
+
|
6
|
+
### Features
|
7
|
+
|
8
|
+
* **rln:** Create `CredentialsManager` without Zerokit ([#2295](https://github.com/waku-org/js-waku/issues/2295)) ([4adf870](https://github.com/waku-org/js-waku/commit/4adf8706c3befd99ace8f02dc2a1350428d4a163))
|
9
|
+
|
10
|
+
|
11
|
+
### Bug Fixes
|
12
|
+
|
13
|
+
* **rln:** Update types to match nwaku ([#2339](https://github.com/waku-org/js-waku/issues/2339)) ([28f28d0](https://github.com/waku-org/js-waku/commit/28f28d0d3627d7fdd06c5970c6028ea73031786e))
|
14
|
+
|
15
|
+
|
16
|
+
### Dependencies
|
17
|
+
|
18
|
+
* The following workspace dependencies were updated
|
19
|
+
* dependencies
|
20
|
+
* @waku/core bumped from ^0.0.34 to ^0.0.35
|
21
|
+
* @waku/utils bumped from ^0.0.22 to ^0.0.23
|
22
|
+
* devDependencies
|
23
|
+
* @waku/message-encryption bumped from ^0.0.32 to ^0.0.33
|
24
|
+
|
3
25
|
## [0.1.4](https://github.com/waku-org/js-waku/compare/rln-v0.1.3...rln-v0.1.4) (2025-03-24)
|
4
26
|
|
5
27
|
|
@@ -1,5 +1,5 @@
|
|
1
1
|
import { getAugmentedNamespace } from './_commonjsHelpers.js';
|
2
|
-
import * as index from '../
|
2
|
+
import * as index from '../node_modules/@chainsafe/bls-keystore/node_modules/uuid/dist/esm-browser/index.js';
|
3
3
|
|
4
4
|
var require$$0 = /*@__PURE__*/getAugmentedNamespace(index);
|
5
5
|
|
package/bundle/index.js
CHANGED
@@ -2,13 +2,13 @@ export { RLNDecoder, RLNEncoder } from './packages/rln/dist/codec.js';
|
|
2
2
|
export { RLN_ABI } from './packages/rln/dist/contract/abi.js';
|
3
3
|
export { RLNContract } from './packages/rln/dist/contract/rln_contract.js';
|
4
4
|
export { LINEA_CONTRACT } from './packages/rln/dist/contract/constants.js';
|
5
|
-
export {
|
5
|
+
export { RLNBaseContract } from './packages/rln/dist/contract/rln_base_contract.js';
|
6
6
|
export { createRLN } from './packages/rln/dist/create.js';
|
7
|
+
export { RLNCredentialsManager } from './packages/rln/dist/credentials_manager.js';
|
7
8
|
export { IdentityCredential } from './packages/rln/dist/identity.js';
|
8
9
|
export { Keystore } from './packages/rln/dist/keystore/keystore.js';
|
9
10
|
export { Proof } from './packages/rln/dist/proof.js';
|
10
11
|
export { RLNInstance } from './packages/rln/dist/rln.js';
|
11
|
-
export { RLNLightInstance } from './packages/rln/dist/rln_light.js';
|
12
12
|
export { MerkleRootTracker } from './packages/rln/dist/root_tracker.js';
|
13
13
|
export { extractMetaMaskSigner } from './packages/rln/dist/utils/metamask.js';
|
14
14
|
import './packages/rln/dist/utils/epoch.js';
|
package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/checksum.js
RENAMED
@@ -1,8 +1,8 @@
|
|
1
|
-
import { commonjsGlobal } from '
|
2
|
-
import { __exports as checksum$1 } from '
|
1
|
+
import { commonjsGlobal } from '../../../../_virtual/_commonjsHelpers.js';
|
2
|
+
import { __exports as checksum$1 } from '../../../../_virtual/checksum.js';
|
3
3
|
import '../node_modules/ethereum-cryptography/sha256.js';
|
4
4
|
import { u as utilsExports } from '../node_modules/ethereum-cryptography/utils.js';
|
5
|
-
import { __exports as sha256 } from '
|
5
|
+
import { __exports as sha256 } from '../../../../_virtual/sha256.js';
|
6
6
|
|
7
7
|
var __awaiter = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
8
8
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/cipher.js
RENAMED
@@ -1,10 +1,10 @@
|
|
1
|
-
import { commonjsGlobal } from '
|
2
|
-
import { __exports as cipher } from '
|
1
|
+
import { commonjsGlobal } from '../../../../_virtual/_commonjsHelpers.js';
|
2
|
+
import { __exports as cipher } from '../../../../_virtual/cipher.js';
|
3
3
|
import '../node_modules/ethereum-cryptography/random.js';
|
4
4
|
import '../node_modules/ethereum-cryptography/aes.js';
|
5
5
|
import { u as utilsExports } from '../node_modules/ethereum-cryptography/utils.js';
|
6
|
-
import { __exports as random } from '
|
7
|
-
import { __exports as aes } from '
|
6
|
+
import { __exports as random } from '../../../../_virtual/random.js';
|
7
|
+
import { __exports as aes } from '../../../../_virtual/aes.js';
|
8
8
|
|
9
9
|
var __awaiter = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
10
10
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/class.js
RENAMED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { commonjsGlobal } from '
|
2
|
-
import { __exports as _class } from '
|
1
|
+
import { commonjsGlobal } from '../../../../_virtual/_commonjsHelpers.js';
|
2
|
+
import { __exports as _class } from '../../../../_virtual/class.js';
|
3
3
|
import './kdf.js';
|
4
4
|
import './checksum.js';
|
5
5
|
import './cipher.js';
|
6
6
|
import './functional.js';
|
7
7
|
import './schema-validation.js';
|
8
|
-
import { __exports as kdf } from '
|
9
|
-
import { __exports as checksum } from '
|
10
|
-
import { __exports as cipher } from '
|
11
|
-
import { __exports as functional } from '
|
12
|
-
import { __exports as schemaValidation } from '
|
8
|
+
import { __exports as kdf } from '../../../../_virtual/kdf.js';
|
9
|
+
import { __exports as checksum } from '../../../../_virtual/checksum.js';
|
10
|
+
import { __exports as cipher } from '../../../../_virtual/cipher.js';
|
11
|
+
import { __exports as functional } from '../../../../_virtual/functional.js';
|
12
|
+
import { __exports as schemaValidation } from '../../../../_virtual/schema-validation.js';
|
13
13
|
|
14
14
|
var __awaiter = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
15
15
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/functional.js
RENAMED
@@ -1,15 +1,15 @@
|
|
1
|
-
import { commonjsGlobal } from '
|
2
|
-
import { __exports as functional } from '
|
3
|
-
import require$$0 from '
|
1
|
+
import { commonjsGlobal } from '../../../../_virtual/_commonjsHelpers.js';
|
2
|
+
import { __exports as functional } from '../../../../_virtual/functional.js';
|
3
|
+
import require$$0 from '../../../../_virtual/index2.js';
|
4
4
|
import './kdf.js';
|
5
5
|
import './checksum.js';
|
6
6
|
import './cipher.js';
|
7
7
|
import './password.js';
|
8
8
|
import { u as utilsExports } from '../node_modules/ethereum-cryptography/utils.js';
|
9
|
-
import { __exports as kdf } from '
|
10
|
-
import { __exports as checksum } from '
|
11
|
-
import { __exports as cipher } from '
|
12
|
-
import { __exports as password } from '
|
9
|
+
import { __exports as kdf } from '../../../../_virtual/kdf.js';
|
10
|
+
import { __exports as checksum } from '../../../../_virtual/checksum.js';
|
11
|
+
import { __exports as cipher } from '../../../../_virtual/cipher.js';
|
12
|
+
import { __exports as password } from '../../../../_virtual/password.js';
|
13
13
|
|
14
14
|
(function (exports) {
|
15
15
|
var __awaiter = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/index.js
RENAMED
@@ -1,13 +1,13 @@
|
|
1
|
-
import { commonjsGlobal } from '
|
2
|
-
import { __exports as lib } from '
|
1
|
+
import { commonjsGlobal } from '../../../../_virtual/_commonjsHelpers.js';
|
2
|
+
import { __exports as lib } from '../../../../_virtual/index.js';
|
3
3
|
import './types.js';
|
4
4
|
import './functional.js';
|
5
5
|
import './class.js';
|
6
6
|
import './schema-validation.js';
|
7
|
-
import { __exports as types } from '
|
8
|
-
import { __exports as functional } from '
|
9
|
-
import { __exports as _class } from '
|
10
|
-
import { __exports as schemaValidation } from '
|
7
|
+
import { __exports as types } from '../../../../_virtual/types.js';
|
8
|
+
import { __exports as functional } from '../../../../_virtual/functional.js';
|
9
|
+
import { __exports as _class } from '../../../../_virtual/class.js';
|
10
|
+
import { __exports as schemaValidation } from '../../../../_virtual/schema-validation.js';
|
11
11
|
|
12
12
|
(function (exports) {
|
13
13
|
var __createBinding = (commonjsGlobal && commonjsGlobal.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/kdf.js
RENAMED
@@ -1,12 +1,12 @@
|
|
1
|
-
import { commonjsGlobal } from '
|
2
|
-
import { __exports as kdf$1 } from '
|
1
|
+
import { commonjsGlobal } from '../../../../_virtual/_commonjsHelpers.js';
|
2
|
+
import { __exports as kdf$1 } from '../../../../_virtual/kdf.js';
|
3
3
|
import '../node_modules/ethereum-cryptography/random.js';
|
4
4
|
import '../node_modules/ethereum-cryptography/pbkdf2.js';
|
5
5
|
import '../node_modules/ethereum-cryptography/scrypt.js';
|
6
6
|
import { u as utilsExports } from '../node_modules/ethereum-cryptography/utils.js';
|
7
|
-
import { __exports as random } from '
|
8
|
-
import { __exports as pbkdf2 } from '
|
9
|
-
import { __exports as scrypt } from '
|
7
|
+
import { __exports as random } from '../../../../_virtual/random.js';
|
8
|
+
import { __exports as pbkdf2 } from '../../../../_virtual/pbkdf2.js';
|
9
|
+
import { __exports as scrypt } from '../../../../_virtual/scrypt.js';
|
10
10
|
|
11
11
|
var __awaiter = (commonjsGlobal && commonjsGlobal.__awaiter) || function (thisArg, _arguments, P, generator) {
|
12
12
|
function adopt(value) { return value instanceof P ? value : new P(function (resolve) { resolve(value); }); }
|
package/bundle/{packages/rln/node_modules → node_modules}/@chainsafe/bls-keystore/lib/password.js
RENAMED
@@ -1,4 +1,4 @@
|
|
1
|
-
import { __exports as password } from '
|
1
|
+
import { __exports as password } from '../../../../_virtual/password.js';
|
2
2
|
import { u as utilsExports } from '../node_modules/ethereum-cryptography/utils.js';
|
3
3
|
|
4
4
|
Object.defineProperty(password, "__esModule", { value: true });
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { __exports as schemaValidationGenerated } from '
|
1
|
+
import { __exports as schemaValidationGenerated } from '../../../../_virtual/schema-validation-generated.js';
|
2
2
|
|
3
3
|
Object.defineProperty(schemaValidationGenerated, "__esModule", { value: true });
|
4
4
|
schemaValidationGenerated.Keystore = void 0;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { __exports as schemaValidation } from '
|
1
|
+
import { __exports as schemaValidation } from '../../../../_virtual/schema-validation.js';
|
2
2
|
import './schema-validation-generated.js';
|
3
|
-
import { __exports as schemaValidationGenerated } from '
|
3
|
+
import { __exports as schemaValidationGenerated } from '../../../../_virtual/schema-validation-generated.js';
|
4
4
|
|
5
5
|
Object.defineProperty(schemaValidation, "__esModule", { value: true });
|
6
6
|
schemaValidation.isValidKeystore = schemaValidation.validateKeystore = schemaValidation.schemaValidationErrors = void 0;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { __exports as _assert } from '
|
1
|
+
import { __exports as _assert } from '../../../../../../_virtual/_assert.js';
|
2
2
|
|
3
3
|
Object.defineProperty(_assert, "__esModule", { value: true });
|
4
4
|
_assert.output = _assert.exists = _assert.hash = _assert.bytes = _assert.bool = _assert.number = void 0;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { __exports as _sha2 } from '
|
1
|
+
import { __exports as _sha2 } from '../../../../../../_virtual/_sha2.js';
|
2
2
|
import './_assert.js';
|
3
3
|
import './utils.js';
|
4
|
-
import { __exports as utils } from '
|
5
|
-
import { __exports as _assert } from '
|
4
|
+
import { __exports as utils } from '../../../../../../_virtual/utils.js';
|
5
|
+
import { __exports as _assert } from '../../../../../../_virtual/_assert.js';
|
6
6
|
|
7
7
|
Object.defineProperty(_sha2, "__esModule", { value: true });
|
8
8
|
_sha2.SHA2 = void 0;
|
@@ -1,4 +1,4 @@
|
|
1
|
-
import { __exports as cryptoBrowser } from '
|
1
|
+
import { __exports as cryptoBrowser } from '../../../../../../_virtual/cryptoBrowser.js';
|
2
2
|
|
3
3
|
Object.defineProperty(cryptoBrowser, "__esModule", { value: true });
|
4
4
|
cryptoBrowser.crypto = void 0;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { __exports as hmac } from '
|
1
|
+
import { __exports as hmac } from '../../../../../../_virtual/hmac.js';
|
2
2
|
import './_assert.js';
|
3
3
|
import './utils.js';
|
4
|
-
import { __exports as utils } from '
|
5
|
-
import { __exports as _assert } from '
|
4
|
+
import { __exports as utils } from '../../../../../../_virtual/utils.js';
|
5
|
+
import { __exports as _assert } from '../../../../../../_virtual/_assert.js';
|
6
6
|
|
7
7
|
(function (exports) {
|
8
8
|
Object.defineProperty(exports, "__esModule", { value: true });
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { __exports as pbkdf2$1 } from '
|
1
|
+
import { __exports as pbkdf2$1 } from '../../../../../../_virtual/pbkdf22.js';
|
2
2
|
import './_assert.js';
|
3
3
|
import './hmac.js';
|
4
4
|
import './utils.js';
|
5
|
-
import { __exports as utils } from '
|
6
|
-
import { __exports as _assert } from '
|
7
|
-
import { __exports as hmac } from '
|
5
|
+
import { __exports as utils } from '../../../../../../_virtual/utils.js';
|
6
|
+
import { __exports as _assert } from '../../../../../../_virtual/_assert.js';
|
7
|
+
import { __exports as hmac } from '../../../../../../_virtual/hmac.js';
|
8
8
|
|
9
9
|
Object.defineProperty(pbkdf2$1, "__esModule", { value: true });
|
10
10
|
pbkdf2$1.pbkdf2Async = pbkdf2$1.pbkdf2 = void 0;
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import { __exports as scrypt$1 } from '
|
1
|
+
import { __exports as scrypt$1 } from '../../../../../../_virtual/scrypt2.js';
|
2
2
|
import './_assert.js';
|
3
3
|
import './sha256.js';
|
4
4
|
import './pbkdf2.js';
|
5
5
|
import './utils.js';
|
6
|
-
import { __exports as utils } from '
|
7
|
-
import { __exports as _assert } from '
|
8
|
-
import { __exports as pbkdf2 } from '
|
9
|
-
import { __exports as sha256 } from '
|
6
|
+
import { __exports as utils } from '../../../../../../_virtual/utils.js';
|
7
|
+
import { __exports as _assert } from '../../../../../../_virtual/_assert.js';
|
8
|
+
import { __exports as pbkdf2 } from '../../../../../../_virtual/pbkdf22.js';
|
9
|
+
import { __exports as sha256 } from '../../../../../../_virtual/sha2562.js';
|
10
10
|
|
11
11
|
Object.defineProperty(scrypt$1, "__esModule", { value: true });
|
12
12
|
scrypt$1.scryptAsync = scrypt$1.scrypt = void 0;
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import { __exports as sha256 } from '
|
1
|
+
import { __exports as sha256 } from '../../../../../../_virtual/sha2562.js';
|
2
2
|
import './_sha2.js';
|
3
3
|
import './utils.js';
|
4
|
-
import { __exports as _sha2 } from '
|
5
|
-
import { __exports as utils } from '
|
4
|
+
import { __exports as _sha2 } from '../../../../../../_virtual/_sha2.js';
|
5
|
+
import { __exports as utils } from '../../../../../../_virtual/utils.js';
|
6
6
|
|
7
7
|
Object.defineProperty(sha256, "__esModule", { value: true });
|
8
8
|
sha256.sha224 = sha256.sha256 = void 0;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { __exports as sha512 } from '
|
1
|
+
import { __exports as sha512 } from '../../../../../../_virtual/sha512.js';
|
2
2
|
import './_sha2.js';
|
3
3
|
import './_u64.js';
|
4
4
|
import './utils.js';
|
5
|
-
import { __exports as _u64 } from '
|
6
|
-
import { __exports as _sha2 } from '
|
7
|
-
import { __exports as utils } from '
|
5
|
+
import { __exports as _u64 } from '../../../../../../_virtual/_u64.js';
|
6
|
+
import { __exports as _sha2 } from '../../../../../../_virtual/_sha2.js';
|
7
|
+
import { __exports as utils } from '../../../../../../_virtual/utils.js';
|
8
8
|
|
9
9
|
Object.defineProperty(sha512, "__esModule", { value: true });
|
10
10
|
sha512.sha384 = sha512.sha512_256 = sha512.sha512_224 = sha512.sha512 = sha512.SHA512 = void 0;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { __exports as utils } from '
|
1
|
+
import { __exports as utils } from '../../../../../../_virtual/utils.js';
|
2
2
|
import './cryptoBrowser.js';
|
3
|
-
import { __exports as cryptoBrowser } from '
|
3
|
+
import { __exports as cryptoBrowser } from '../../../../../../_virtual/cryptoBrowser.js';
|
4
4
|
|
5
5
|
(function (exports) {
|
6
6
|
/*! noble-hashes - MIT License (c) 2022 Paul Miller (paulmillr.com) */
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { __exports as aes } from '
|
2
|
-
import '
|
1
|
+
import { __exports as aes } from '../../../../../_virtual/aes.js';
|
2
|
+
import '../@noble/hashes/cryptoBrowser.js';
|
3
3
|
import { u as utilsExports } from './utils.js';
|
4
|
-
import { __exports as cryptoBrowser } from '
|
4
|
+
import { __exports as cryptoBrowser } from '../../../../../_virtual/cryptoBrowser.js';
|
5
5
|
|
6
6
|
Object.defineProperty(aes, "__esModule", { value: true });
|
7
7
|
aes.decrypt = aes.encrypt = void 0;
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import { __exports as pbkdf2$1 } from '
|
2
|
-
import '
|
3
|
-
import '
|
4
|
-
import '
|
1
|
+
import { __exports as pbkdf2$1 } from '../../../../../_virtual/pbkdf2.js';
|
2
|
+
import '../@noble/hashes/pbkdf2.js';
|
3
|
+
import '../@noble/hashes/sha256.js';
|
4
|
+
import '../@noble/hashes/sha512.js';
|
5
5
|
import { u as utilsExports } from './utils.js';
|
6
|
-
import { __exports as pbkdf2$2 } from '
|
7
|
-
import { __exports as sha256 } from '
|
8
|
-
import { __exports as sha512 } from '
|
6
|
+
import { __exports as pbkdf2$2 } from '../../../../../_virtual/pbkdf22.js';
|
7
|
+
import { __exports as sha256 } from '../../../../../_virtual/sha2562.js';
|
8
|
+
import { __exports as sha512 } from '../../../../../_virtual/sha512.js';
|
9
9
|
|
10
10
|
Object.defineProperty(pbkdf2$1, "__esModule", { value: true });
|
11
11
|
pbkdf2$1.pbkdf2Sync = pbkdf2$1.pbkdf2 = void 0;
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import { __exports as random } from '
|
2
|
-
import '
|
3
|
-
import { __exports as utils } from '
|
1
|
+
import { __exports as random } from '../../../../../_virtual/random.js';
|
2
|
+
import '../@noble/hashes/utils.js';
|
3
|
+
import { __exports as utils } from '../../../../../_virtual/utils.js';
|
4
4
|
|
5
5
|
Object.defineProperty(random, "__esModule", { value: true });
|
6
6
|
random.getRandomBytes = random.getRandomBytesSync = void 0;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { __exports as scrypt$1 } from '
|
2
|
-
import '
|
1
|
+
import { __exports as scrypt$1 } from '../../../../../_virtual/scrypt.js';
|
2
|
+
import '../@noble/hashes/scrypt.js';
|
3
3
|
import { u as utilsExports } from './utils.js';
|
4
|
-
import { __exports as scrypt$2 } from '
|
4
|
+
import { __exports as scrypt$2 } from '../../../../../_virtual/scrypt2.js';
|
5
5
|
|
6
6
|
Object.defineProperty(scrypt$1, "__esModule", { value: true });
|
7
7
|
scrypt$1.scryptSync = scrypt$1.scrypt = void 0;
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import { __exports as sha256 } from '
|
2
|
-
import '
|
1
|
+
import { __exports as sha256 } from '../../../../../_virtual/sha256.js';
|
2
|
+
import '../@noble/hashes/sha256.js';
|
3
3
|
import { u as utilsExports } from './utils.js';
|
4
|
-
import { __exports as sha256$1 } from '
|
4
|
+
import { __exports as sha256$1 } from '../../../../../_virtual/sha2562.js';
|
5
5
|
|
6
6
|
Object.defineProperty(sha256, "__esModule", { value: true });
|
7
7
|
sha256.sha256 = void 0;
|
@@ -1,10 +1,10 @@
|
|
1
|
-
import { commonjsGlobal } from '
|
2
|
-
import { commonjsRequire } from '
|
3
|
-
import { __module as utils } from '
|
4
|
-
import '
|
5
|
-
import '
|
6
|
-
import { __exports as _assert } from '
|
7
|
-
import { __exports as utils$1 } from '
|
1
|
+
import { commonjsGlobal } from '../../../../../_virtual/_commonjsHelpers.js';
|
2
|
+
import { commonjsRequire } from '../../../../../_virtual/_commonjs-dynamic-modules.js';
|
3
|
+
import { __module as utils } from '../../../../../_virtual/utils2.js';
|
4
|
+
import '../@noble/hashes/_assert.js';
|
5
|
+
import '../@noble/hashes/utils.js';
|
6
|
+
import { __exports as _assert } from '../../../../../_virtual/_assert.js';
|
7
|
+
import { __exports as utils$1 } from '../../../../../_virtual/utils.js';
|
8
8
|
|
9
9
|
utils.exports;
|
10
10
|
|
@@ -763,7 +763,7 @@ class BaseContract {
|
|
763
763
|
logger.throwError("events require a provider or a signer with a provider", Logger.errors.UNSUPPORTED_OPERATION, { operation: "once" });
|
764
764
|
}
|
765
765
|
runningEvent.addListener(listener, once);
|
766
|
-
// Track this running event and its listeners (may already be there; but no
|
766
|
+
// Track this running event and its listeners (may already be there; but no harm in updating)
|
767
767
|
this._runningEvents[runningEvent.tag] = runningEvent;
|
768
768
|
// If we are not polling the provider, start polling
|
769
769
|
if (!this._wrappedEmits[runningEvent.tag]) {
|
@@ -59,6 +59,12 @@ function ethDefaultProvider(network) {
|
|
59
59
|
}
|
60
60
|
catch (error) { }
|
61
61
|
}
|
62
|
+
if (providers.QuickNodeProvider && options.quicknode !== "-") {
|
63
|
+
try {
|
64
|
+
providerList.push(new providers.QuickNodeProvider(network, options.quicknode));
|
65
|
+
}
|
66
|
+
catch (error) { }
|
67
|
+
}
|
62
68
|
if (providerList.length === 0) {
|
63
69
|
return null;
|
64
70
|
}
|
@@ -136,9 +142,15 @@ const networks = {
|
|
136
142
|
kintsugi: { chainId: 1337702, name: "kintsugi" },
|
137
143
|
sepolia: {
|
138
144
|
chainId: 11155111,
|
145
|
+
ensAddress: "0x00000000000C2E074eC69A0dFb2997BA6C7d2e1e",
|
139
146
|
name: "sepolia",
|
140
147
|
_defaultProvider: ethDefaultProvider("sepolia")
|
141
148
|
},
|
149
|
+
holesky: {
|
150
|
+
chainId: 17000,
|
151
|
+
name: "holesky",
|
152
|
+
_defaultProvider: ethDefaultProvider("holesky")
|
153
|
+
},
|
142
154
|
// ETC (See: #351)
|
143
155
|
classic: {
|
144
156
|
chainId: 61,
|
@@ -159,7 +171,11 @@ const networks = {
|
|
159
171
|
name: "matic",
|
160
172
|
_defaultProvider: ethDefaultProvider("matic")
|
161
173
|
},
|
162
|
-
maticmum: {
|
174
|
+
maticmum: {
|
175
|
+
chainId: 80001,
|
176
|
+
name: "maticmum",
|
177
|
+
_defaultProvider: ethDefaultProvider("maticmum")
|
178
|
+
},
|
163
179
|
optimism: {
|
164
180
|
chainId: 10,
|
165
181
|
name: "optimism",
|
@@ -167,9 +183,11 @@ const networks = {
|
|
167
183
|
},
|
168
184
|
"optimism-kovan": { chainId: 69, name: "optimism-kovan" },
|
169
185
|
"optimism-goerli": { chainId: 420, name: "optimism-goerli" },
|
186
|
+
"optimism-sepolia": { chainId: 11155420, name: "optimism-sepolia" },
|
170
187
|
arbitrum: { chainId: 42161, name: "arbitrum" },
|
171
188
|
"arbitrum-rinkeby": { chainId: 421611, name: "arbitrum-rinkeby" },
|
172
189
|
"arbitrum-goerli": { chainId: 421613, name: "arbitrum-goerli" },
|
190
|
+
"arbitrum-sepolia": { chainId: 421614, name: "arbitrum-sepolia" },
|
173
191
|
bnb: { chainId: 56, name: "bnb" },
|
174
192
|
bnbt: { chainId: 97, name: "bnbt" },
|
175
193
|
};
|