@twin.org/wallet-connector-entity-storage 0.0.1-next.8 → 0.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.
- package/dist/cjs/index.cjs +3 -3
- package/dist/esm/index.mjs +4 -4
- package/docs/changelog.md +115 -1
- package/docs/reference/classes/EntityStorageFaucetConnector.md +3 -3
- package/docs/reference/classes/EntityStorageWalletConnector.md +4 -4
- package/docs/reference/classes/WalletAddress.md +3 -3
- package/package.json +10 -10
package/dist/cjs/index.cjs
CHANGED
|
@@ -29,15 +29,15 @@ exports.WalletAddress = class WalletAddress {
|
|
|
29
29
|
__decorate([
|
|
30
30
|
entity.property({ type: "string", isPrimary: true }),
|
|
31
31
|
__metadata("design:type", String)
|
|
32
|
-
], exports.WalletAddress.prototype, "address",
|
|
32
|
+
], exports.WalletAddress.prototype, "address", void 0);
|
|
33
33
|
__decorate([
|
|
34
34
|
entity.property({ type: "string" }),
|
|
35
35
|
__metadata("design:type", String)
|
|
36
|
-
], exports.WalletAddress.prototype, "identity",
|
|
36
|
+
], exports.WalletAddress.prototype, "identity", void 0);
|
|
37
37
|
__decorate([
|
|
38
38
|
entity.property({ type: "string" }),
|
|
39
39
|
__metadata("design:type", String)
|
|
40
|
-
], exports.WalletAddress.prototype, "balance",
|
|
40
|
+
], exports.WalletAddress.prototype, "balance", void 0);
|
|
41
41
|
exports.WalletAddress = __decorate([
|
|
42
42
|
entity.entity()
|
|
43
43
|
], exports.WalletAddress);
|
package/dist/esm/index.mjs
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { property, entity,
|
|
1
|
+
import { property, entity, ComparisonOperator, LogicalOperator, EntitySchemaFactory, EntitySchemaHelper } from '@twin.org/entity';
|
|
2
2
|
import { Guards, Is, Coerce, GeneralError } from '@twin.org/core';
|
|
3
3
|
import { EntityStorageConnectorFactory } from '@twin.org/entity-storage-models';
|
|
4
4
|
import { Bip39, Bip44, KeyType } from '@twin.org/crypto';
|
|
@@ -27,15 +27,15 @@ let WalletAddress = class WalletAddress {
|
|
|
27
27
|
__decorate([
|
|
28
28
|
property({ type: "string", isPrimary: true }),
|
|
29
29
|
__metadata("design:type", String)
|
|
30
|
-
], WalletAddress.prototype, "address",
|
|
30
|
+
], WalletAddress.prototype, "address", void 0);
|
|
31
31
|
__decorate([
|
|
32
32
|
property({ type: "string" }),
|
|
33
33
|
__metadata("design:type", String)
|
|
34
|
-
], WalletAddress.prototype, "identity",
|
|
34
|
+
], WalletAddress.prototype, "identity", void 0);
|
|
35
35
|
__decorate([
|
|
36
36
|
property({ type: "string" }),
|
|
37
37
|
__metadata("design:type", String)
|
|
38
|
-
], WalletAddress.prototype, "balance",
|
|
38
|
+
], WalletAddress.prototype, "balance", void 0);
|
|
39
39
|
WalletAddress = __decorate([
|
|
40
40
|
entity()
|
|
41
41
|
], WalletAddress);
|
package/docs/changelog.md
CHANGED
|
@@ -1,5 +1,119 @@
|
|
|
1
1
|
# @twin.org/wallet-connector-entity-storage - Changelog
|
|
2
2
|
|
|
3
|
-
##
|
|
3
|
+
## 0.0.1 (2025-07-08)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### Features
|
|
7
|
+
|
|
8
|
+
* release to production ([4631961](https://github.com/twinfoundation/wallet/commit/4631961bf9c8cf82ffd0c8dd2a7d750456bbab39))
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
### Dependencies
|
|
12
|
+
|
|
13
|
+
* The following workspace dependencies were updated
|
|
14
|
+
* dependencies
|
|
15
|
+
* @twin.org/wallet-models bumped from ^0.0.0 to ^0.0.1
|
|
16
|
+
|
|
17
|
+
## [0.0.1-next.24](https://github.com/twinfoundation/wallet/compare/wallet-connector-entity-storage-v0.0.1-next.23...wallet-connector-entity-storage-v0.0.1-next.24) (2025-07-03)
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Features
|
|
21
|
+
|
|
22
|
+
* iota rebased release ([d0c617d](https://github.com/twinfoundation/wallet/commit/d0c617d894f3663f7c80f7d53d2da858a0bd64f0))
|
|
23
|
+
* update dependencies ([4b47a7d](https://github.com/twinfoundation/wallet/commit/4b47a7d900d72d1502d6db54cb391a954818478b))
|
|
24
|
+
* use shared store mechanism ([#27](https://github.com/twinfoundation/wallet/issues/27)) ([2ba7861](https://github.com/twinfoundation/wallet/commit/2ba7861a2a610cf83396a3285c7bbaebe5a31551))
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
### Dependencies
|
|
28
|
+
|
|
29
|
+
* The following workspace dependencies were updated
|
|
30
|
+
* dependencies
|
|
31
|
+
* @twin.org/wallet-models bumped from 0.0.1-next.23 to 0.0.1-next.24
|
|
32
|
+
|
|
33
|
+
## [0.0.1-next.23](https://github.com/twinfoundation/wallet/compare/wallet-connector-entity-storage-v0.0.1-next.22...wallet-connector-entity-storage-v0.0.1-next.23) (2025-07-03)
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
### Miscellaneous Chores
|
|
37
|
+
|
|
38
|
+
* **wallet-connector-entity-storage:** Synchronize repo versions
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
### Dependencies
|
|
42
|
+
|
|
43
|
+
* The following workspace dependencies were updated
|
|
44
|
+
* dependencies
|
|
45
|
+
* @twin.org/wallet-models bumped from 0.0.1-next.22 to 0.0.1-next.23
|
|
46
|
+
|
|
47
|
+
## [0.0.1-next.22](https://github.com/twinfoundation/wallet/compare/wallet-connector-entity-storage-v0.0.1-next.21...wallet-connector-entity-storage-v0.0.1-next.22) (2025-06-12)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
### Features
|
|
51
|
+
|
|
52
|
+
* update dependencies ([4b47a7d](https://github.com/twinfoundation/wallet/commit/4b47a7d900d72d1502d6db54cb391a954818478b))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
### Dependencies
|
|
56
|
+
|
|
57
|
+
* The following workspace dependencies were updated
|
|
58
|
+
* dependencies
|
|
59
|
+
* @twin.org/wallet-models bumped from 0.0.1-next.21 to 0.0.1-next.22
|
|
60
|
+
|
|
61
|
+
## [0.0.1-next.21](https://github.com/twinfoundation/wallet/compare/wallet-connector-entity-storage-v0.0.1-next.20...wallet-connector-entity-storage-v0.0.1-next.21) (2025-05-21)
|
|
62
|
+
|
|
63
|
+
|
|
64
|
+
### Miscellaneous Chores
|
|
65
|
+
|
|
66
|
+
* **wallet-connector-entity-storage:** Synchronize repo versions
|
|
67
|
+
|
|
68
|
+
|
|
69
|
+
### Dependencies
|
|
70
|
+
|
|
71
|
+
* The following workspace dependencies were updated
|
|
72
|
+
* dependencies
|
|
73
|
+
* @twin.org/wallet-models bumped from 0.0.1-next.20 to 0.0.1-next.21
|
|
74
|
+
|
|
75
|
+
## [0.0.1-next.20](https://github.com/twinfoundation/wallet/compare/wallet-connector-entity-storage-v0.0.1-next.19...wallet-connector-entity-storage-v0.0.1-next.20) (2025-05-06)
|
|
76
|
+
|
|
77
|
+
|
|
78
|
+
### Features
|
|
79
|
+
|
|
80
|
+
* iota rebased release ([d0c617d](https://github.com/twinfoundation/wallet/commit/d0c617d894f3663f7c80f7d53d2da858a0bd64f0))
|
|
81
|
+
|
|
82
|
+
|
|
83
|
+
### Dependencies
|
|
84
|
+
|
|
85
|
+
* The following workspace dependencies were updated
|
|
86
|
+
* dependencies
|
|
87
|
+
* @twin.org/wallet-models bumped from 0.0.1-next.19 to 0.0.1-next.20
|
|
88
|
+
|
|
89
|
+
## [0.0.1-next.19](https://github.com/twinfoundation/wallet/compare/wallet-connector-entity-storage-v0.0.1-next.18...wallet-connector-entity-storage-v0.0.1-next.19) (2025-04-17)
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
### Features
|
|
93
|
+
|
|
94
|
+
* use shared store mechanism ([#27](https://github.com/twinfoundation/wallet/issues/27)) ([2ba7861](https://github.com/twinfoundation/wallet/commit/2ba7861a2a610cf83396a3285c7bbaebe5a31551))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
### Dependencies
|
|
98
|
+
|
|
99
|
+
* The following workspace dependencies were updated
|
|
100
|
+
* dependencies
|
|
101
|
+
* @twin.org/wallet-models bumped from 0.0.1-next.18 to 0.0.1-next.19
|
|
102
|
+
|
|
103
|
+
## [0.0.1-next.18](https://github.com/twinfoundation/wallet/compare/wallet-connector-entity-storage-v0.0.1-next.17...wallet-connector-entity-storage-v0.0.1-next.18) (2025-03-28)
|
|
104
|
+
|
|
105
|
+
|
|
106
|
+
### Miscellaneous Chores
|
|
107
|
+
|
|
108
|
+
* **wallet-connector-entity-storage:** Synchronize repo versions
|
|
109
|
+
|
|
110
|
+
|
|
111
|
+
### Dependencies
|
|
112
|
+
|
|
113
|
+
* The following workspace dependencies were updated
|
|
114
|
+
* dependencies
|
|
115
|
+
* @twin.org/wallet-models bumped from 0.0.1-next.17 to 0.0.1-next.18
|
|
116
|
+
|
|
117
|
+
## v0.0.1-next.17
|
|
4
118
|
|
|
5
119
|
- Initial Release
|
|
@@ -8,9 +8,9 @@ Class for performing faucet operations using entity storage.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new EntityStorageFaucetConnector**(`options
|
|
13
|
+
> **new EntityStorageFaucetConnector**(`options?`): `EntityStorageFaucetConnector`
|
|
14
14
|
|
|
15
15
|
Create a new instance of EntityStorageFaucetConnector.
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ The options for the wallet connector.
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
`EntityStorageFaucetConnector`
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
@@ -8,9 +8,9 @@ Class for performing wallet operations using in-memory storage.
|
|
|
8
8
|
|
|
9
9
|
## Constructors
|
|
10
10
|
|
|
11
|
-
###
|
|
11
|
+
### Constructor
|
|
12
12
|
|
|
13
|
-
> **new EntityStorageWalletConnector**(`options
|
|
13
|
+
> **new EntityStorageWalletConnector**(`options?`): `EntityStorageWalletConnector`
|
|
14
14
|
|
|
15
15
|
Create a new instance of EntityStorageWalletConnector.
|
|
16
16
|
|
|
@@ -24,7 +24,7 @@ The options for the wallet connector.
|
|
|
24
24
|
|
|
25
25
|
#### Returns
|
|
26
26
|
|
|
27
|
-
|
|
27
|
+
`EntityStorageWalletConnector`
|
|
28
28
|
|
|
29
29
|
## Properties
|
|
30
30
|
|
|
@@ -152,7 +152,7 @@ The balance of the wallet address.
|
|
|
152
152
|
|
|
153
153
|
### ensureBalance()
|
|
154
154
|
|
|
155
|
-
> **ensureBalance**(`identity`, `address`, `ensureBalance`, `timeoutInSeconds
|
|
155
|
+
> **ensureBalance**(`identity`, `address`, `ensureBalance`, `timeoutInSeconds?`): `Promise`\<`boolean`\>
|
|
156
156
|
|
|
157
157
|
Ensure the balance for an address in a wallet.
|
|
158
158
|
|
|
@@ -4,13 +4,13 @@ Class describing a wallet address.
|
|
|
4
4
|
|
|
5
5
|
## Constructors
|
|
6
6
|
|
|
7
|
-
###
|
|
7
|
+
### Constructor
|
|
8
8
|
|
|
9
|
-
> **new WalletAddress**():
|
|
9
|
+
> **new WalletAddress**(): `WalletAddress`
|
|
10
10
|
|
|
11
11
|
#### Returns
|
|
12
12
|
|
|
13
|
-
|
|
13
|
+
`WalletAddress`
|
|
14
14
|
|
|
15
15
|
## Properties
|
|
16
16
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twin.org/wallet-connector-entity-storage",
|
|
3
|
-
"version": "0.0.1
|
|
3
|
+
"version": "0.0.1",
|
|
4
4
|
"description": "Wallet connector implementation using entity storage",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -14,22 +14,22 @@
|
|
|
14
14
|
"node": ">=20.0.0"
|
|
15
15
|
},
|
|
16
16
|
"dependencies": {
|
|
17
|
-
"@twin.org/core": "
|
|
18
|
-
"@twin.org/crypto": "
|
|
19
|
-
"@twin.org/entity": "
|
|
20
|
-
"@twin.org/entity-storage-models": "
|
|
21
|
-
"@twin.org/nameof": "
|
|
22
|
-
"@twin.org/vault-models": "
|
|
23
|
-
"@twin.org/wallet-models": "0.0.1
|
|
17
|
+
"@twin.org/core": "^0.0.1",
|
|
18
|
+
"@twin.org/crypto": "^0.0.1",
|
|
19
|
+
"@twin.org/entity": "^0.0.1",
|
|
20
|
+
"@twin.org/entity-storage-models": "^0.0.1",
|
|
21
|
+
"@twin.org/nameof": "^0.0.1",
|
|
22
|
+
"@twin.org/vault-models": "^0.0.1",
|
|
23
|
+
"@twin.org/wallet-models": "^0.0.1"
|
|
24
24
|
},
|
|
25
25
|
"main": "./dist/cjs/index.cjs",
|
|
26
26
|
"module": "./dist/esm/index.mjs",
|
|
27
27
|
"types": "./dist/types/index.d.ts",
|
|
28
28
|
"exports": {
|
|
29
29
|
".": {
|
|
30
|
+
"types": "./dist/types/index.d.ts",
|
|
30
31
|
"require": "./dist/cjs/index.cjs",
|
|
31
|
-
"import": "./dist/esm/index.mjs"
|
|
32
|
-
"types": "./dist/types/index.d.ts"
|
|
32
|
+
"import": "./dist/esm/index.mjs"
|
|
33
33
|
},
|
|
34
34
|
"./locales/*.json": "./locales/*.json"
|
|
35
35
|
},
|