@dynamic-labs/utils 4.37.2 → 4.39.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 +23 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +5 -5
- package/src/filterDuplicates/filterDuplicates.cjs +12 -0
- package/src/filterDuplicates/filterDuplicates.d.ts +5 -0
- package/src/filterDuplicates/filterDuplicates.js +8 -0
- package/src/filterDuplicates/index.d.ts +1 -0
- package/src/index.cjs +2 -0
- package/src/index.d.ts +1 -0
- package/src/index.js +1 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,27 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.39.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.38.0...v4.39.0) (2025-10-17)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add crypto.com as an onramp option in deposit ([#9580](https://github.com/dynamic-labs/dynamic-auth/issues/9580)) ([4988acc](https://github.com/dynamic-labs/dynamic-auth/commit/4988accfeafa5556297ad6e9873073e30c504c7f)), closes [#3](https://github.com/dynamic-labs/dynamic-auth/issues/3)
|
|
8
|
+
* add sui non-native token sending thru dynamic widget ([#9715](https://github.com/dynamic-labs/dynamic-auth/issues/9715)) ([9d9ea3b](https://github.com/dynamic-labs/dynamic-auth/commit/9d9ea3b233706766516b89d725a52d63cceb01f6))
|
|
9
|
+
|
|
10
|
+
## [4.38.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.37.2...v4.38.0) (2025-10-14)
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Features
|
|
14
|
+
|
|
15
|
+
* add client.ui.updateUser.show method to update user with dynamic ui ([#9702](https://github.com/dynamic-labs/dynamic-auth/issues/9702)) ([9554e98](https://github.com/dynamic-labs/dynamic-auth/commit/9554e98eadf3f801a5ebe8b22493a87cc87b8178))
|
|
16
|
+
* add locale to react-native client ([#9698](https://github.com/dynamic-labs/dynamic-auth/issues/9698)) ([fe577fc](https://github.com/dynamic-labs/dynamic-auth/commit/fe577fccd3cc92e5153f66f401357035bb5baec3))
|
|
17
|
+
* add updateUser to react-native client ([#9701](https://github.com/dynamic-labs/dynamic-auth/issues/9701)) ([124fbf7](https://github.com/dynamic-labs/dynamic-auth/commit/124fbf7a350bfa6404e65def7b436686d38847ed))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### Bug Fixes
|
|
21
|
+
|
|
22
|
+
* notes and trigger ([#9697](https://github.com/dynamic-labs/dynamic-auth/issues/9697)) ([5d24a77](https://github.com/dynamic-labs/dynamic-auth/commit/5d24a77faa8030434bc7dd0f35986984bc2576d5))
|
|
23
|
+
* **zerodev-extension:** allow zerodev kernel client to send user operation ([#9706](https://github.com/dynamic-labs/dynamic-auth/issues/9706)) ([b57afc9](https://github.com/dynamic-labs/dynamic-auth/commit/b57afc9f378d6b2423ca46faec5f6b2861d3cbf6))
|
|
24
|
+
|
|
2
25
|
### [4.37.2](https://github.com/dynamic-labs/dynamic-auth/compare/v4.37.1...v4.37.2) (2025-10-13)
|
|
3
26
|
|
|
4
27
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/utils",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.39.0",
|
|
4
4
|
"description": "A React SDK for implementing wallet web3 authentication and authorization to your website.",
|
|
5
5
|
"author": "Dynamic Labs, Inc.",
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,11 +18,11 @@
|
|
|
18
18
|
},
|
|
19
19
|
"homepage": "https://www.dynamic.xyz/",
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@dynamic-labs/sdk-api-core": "0.0.
|
|
21
|
+
"@dynamic-labs/sdk-api-core": "0.0.809",
|
|
22
22
|
"tldts": "6.0.16",
|
|
23
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
24
|
-
"@dynamic-labs/logger": "4.
|
|
25
|
-
"@dynamic-labs/types": "4.
|
|
23
|
+
"@dynamic-labs/assert-package-version": "4.39.0",
|
|
24
|
+
"@dynamic-labs/logger": "4.39.0",
|
|
25
|
+
"@dynamic-labs/types": "4.39.0",
|
|
26
26
|
"buffer": "6.0.3",
|
|
27
27
|
"eventemitter3": "5.0.1"
|
|
28
28
|
},
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
'use client'
|
|
2
|
+
'use strict';
|
|
3
|
+
|
|
4
|
+
Object.defineProperty(exports, '__esModule', { value: true });
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* Filter duplicates from an array by equality.
|
|
8
|
+
* Uses a Set internally.
|
|
9
|
+
*/
|
|
10
|
+
const filterDuplicates = (array) => Array.from(new Set(array));
|
|
11
|
+
|
|
12
|
+
exports.filterDuplicates = filterDuplicates;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { filterDuplicates } from './filterDuplicates';
|
package/src/index.cjs
CHANGED
|
@@ -85,6 +85,7 @@ var isEncryptedMessage = require('./encryption/isEncryptedMessage/isEncryptedMes
|
|
|
85
85
|
var cryptoAvailability = require('./encryption/cryptoAvailability/cryptoAvailability.cjs');
|
|
86
86
|
var uint8ArrayToBase64 = require('./uint8ArrayToBase64/uint8ArrayToBase64.cjs');
|
|
87
87
|
var assertDefined = require('./assertDefined/assertDefined.cjs');
|
|
88
|
+
var filterDuplicates = require('./filterDuplicates/filterDuplicates.cjs');
|
|
88
89
|
var cloneObjectWithOverrides = require('./cloneObjectWithOverrides/cloneObjectWithOverrides.cjs');
|
|
89
90
|
var get = require('./get/get.cjs');
|
|
90
91
|
var hexToString = require('./hexToString/hexToString.cjs');
|
|
@@ -215,6 +216,7 @@ exports.isCryptoSubtleAvailable = cryptoAvailability.isCryptoSubtleAvailable;
|
|
|
215
216
|
exports.uint8ArrayFromBase64 = uint8ArrayToBase64.uint8ArrayFromBase64;
|
|
216
217
|
exports.uint8ArrayToBase64 = uint8ArrayToBase64.uint8ArrayToBase64;
|
|
217
218
|
exports.assertDefined = assertDefined.assertDefined;
|
|
219
|
+
exports.filterDuplicates = filterDuplicates.filterDuplicates;
|
|
218
220
|
exports.cloneObjectWithOverrides = cloneObjectWithOverrides.cloneObjectWithOverrides;
|
|
219
221
|
exports.get = get.get;
|
|
220
222
|
exports.hexToString = hexToString.hexToString;
|
package/src/index.d.ts
CHANGED
|
@@ -28,6 +28,7 @@ export * from './wrapMethodWithCallback';
|
|
|
28
28
|
export * from './encryption';
|
|
29
29
|
export * from './uint8ArrayToBase64';
|
|
30
30
|
export * from './assertDefined';
|
|
31
|
+
export * from './filterDuplicates';
|
|
31
32
|
export { cloneObjectWithOverrides } from './cloneObjectWithOverrides';
|
|
32
33
|
export { get } from './get';
|
|
33
34
|
export { hexToString } from './hexToString';
|
package/src/index.js
CHANGED
|
@@ -81,6 +81,7 @@ export { isEncryptedMessage } from './encryption/isEncryptedMessage/isEncryptedM
|
|
|
81
81
|
export { CryptoNotAvailableError, assertCryptoSubtleAvailable, isCryptoSubtleAvailable } from './encryption/cryptoAvailability/cryptoAvailability.js';
|
|
82
82
|
export { uint8ArrayFromBase64, uint8ArrayToBase64 } from './uint8ArrayToBase64/uint8ArrayToBase64.js';
|
|
83
83
|
export { assertDefined } from './assertDefined/assertDefined.js';
|
|
84
|
+
export { filterDuplicates } from './filterDuplicates/filterDuplicates.js';
|
|
84
85
|
export { cloneObjectWithOverrides } from './cloneObjectWithOverrides/cloneObjectWithOverrides.js';
|
|
85
86
|
export { get } from './get/get.js';
|
|
86
87
|
export { hexToString } from './hexToString/hexToString.js';
|