@cityofzion/bs-ethereum 1.0.1 → 1.0.2
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.
|
@@ -2,12 +2,12 @@
|
|
|
2
2
|
"files": {
|
|
3
3
|
"packages/bs-ethereum/.eslintignore": "3ee402c88b68258919e4f4b4eef4f25e5d078d90",
|
|
4
4
|
"packages/bs-ethereum/.eslintrc.cjs": "5ec0bf6332ec01b3e02beb532bb47025c4c1bf7b",
|
|
5
|
-
"packages/bs-ethereum/CHANGELOG.json": "
|
|
6
|
-
"packages/bs-ethereum/CHANGELOG.md": "
|
|
5
|
+
"packages/bs-ethereum/CHANGELOG.json": "e9deaab142df67f914c0937a354e52d95788e123",
|
|
6
|
+
"packages/bs-ethereum/CHANGELOG.md": "df6978b6ed3433dd4fea769889161b1b95ef68e7",
|
|
7
7
|
"packages/bs-ethereum/jest.config.ts": "d944475db93cbe41a9339187fd94b9962e411c43",
|
|
8
8
|
"packages/bs-ethereum/jest.setup.ts": "9a1976a32050616d4d2ee95b1aa21041bc4daca3",
|
|
9
|
-
"packages/bs-ethereum/package.json": "
|
|
10
|
-
"packages/bs-ethereum/src/BSEthereum.ts": "
|
|
9
|
+
"packages/bs-ethereum/package.json": "c601b40f37debd8788b2aab66e4a2387bbb821e8",
|
|
10
|
+
"packages/bs-ethereum/src/BSEthereum.ts": "21e03098208f6764ca8848cc344a6268ff16262c",
|
|
11
11
|
"packages/bs-ethereum/src/BitqueryBDSEthereum.ts": "47f24d0f3a94aa0eb761e1c2e96f6aeb9c51f82b",
|
|
12
12
|
"packages/bs-ethereum/src/BitqueryEDSEthereum.ts": "a1232bf1d1683d7fe0e752577f3eb489cfce734f",
|
|
13
13
|
"packages/bs-ethereum/src/GhostMarketNDSEthereum.ts": "7768175d74e42759582273f7f0ae4dff5054c2ca",
|
package/CHANGELOG.json
CHANGED
|
@@ -1,6 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cityofzion/bs-ethereum",
|
|
3
3
|
"entries": [
|
|
4
|
+
{
|
|
5
|
+
"version": "1.0.2",
|
|
6
|
+
"tag": "@cityofzion/bs-ethereum_v1.0.2",
|
|
7
|
+
"date": "Tue, 27 Feb 2024 20:29:09 GMT",
|
|
8
|
+
"comments": {
|
|
9
|
+
"patch": [
|
|
10
|
+
{
|
|
11
|
+
"comment": "Remove the mining wait in the transfer method to avoid long promises that take time to resolve."
|
|
12
|
+
}
|
|
13
|
+
]
|
|
14
|
+
}
|
|
15
|
+
},
|
|
4
16
|
{
|
|
5
17
|
"version": "1.0.1",
|
|
6
18
|
"tag": "@cityofzion/bs-ethereum_v1.0.1",
|
package/CHANGELOG.md
CHANGED
|
@@ -1,6 +1,13 @@
|
|
|
1
1
|
# Change Log - @cityofzion/bs-ethereum
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Tue, 27 Feb 2024 20:29:09 GMT and should not be manually modified.
|
|
4
|
+
|
|
5
|
+
## 1.0.2
|
|
6
|
+
Tue, 27 Feb 2024 20:29:09 GMT
|
|
7
|
+
|
|
8
|
+
### Patches
|
|
9
|
+
|
|
10
|
+
- Remove the mining wait in the transfer method to avoid long promises that take time to resolve.
|
|
4
11
|
|
|
5
12
|
## 1.0.1
|
|
6
13
|
Thu, 22 Feb 2024 16:49:56 GMT
|
package/dist/BSEthereum.js
CHANGED
|
@@ -144,10 +144,7 @@ class BSEthereum {
|
|
|
144
144
|
value: amount,
|
|
145
145
|
});
|
|
146
146
|
}
|
|
147
|
-
|
|
148
|
-
if (!transactionMined)
|
|
149
|
-
throw new Error('Transaction not mined');
|
|
150
|
-
return transactionMined.transactionHash;
|
|
147
|
+
return transaction.hash;
|
|
151
148
|
});
|
|
152
149
|
}
|
|
153
150
|
calculateTransferFee({ senderAccount, intent }) {
|
package/package.json
CHANGED
package/src/BSEthereum.ts
CHANGED
|
@@ -148,10 +148,7 @@ export class BSEthereum<BSCustomName extends string = string>
|
|
|
148
148
|
})
|
|
149
149
|
}
|
|
150
150
|
|
|
151
|
-
|
|
152
|
-
if (!transactionMined) throw new Error('Transaction not mined')
|
|
153
|
-
|
|
154
|
-
return transactionMined.transactionHash
|
|
151
|
+
return transaction.hash
|
|
155
152
|
}
|
|
156
153
|
|
|
157
154
|
async calculateTransferFee({ senderAccount, intent }: TransferParam): Promise<string> {
|