@dynamic-labs/types 4.49.0 → 4.50.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/CHANGELOG.md +15 -0
- package/package.cjs +1 -1
- package/package.js +1 -1
- package/package.json +2 -2
- package/src/index.d.ts +1 -0
- package/src/phantom.d.ts +36 -0
package/CHANGELOG.md
CHANGED
|
@@ -1,4 +1,19 @@
|
|
|
1
1
|
|
|
2
|
+
## [4.50.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.49.0...v4.50.0) (2025-12-09)
|
|
3
|
+
|
|
4
|
+
|
|
5
|
+
### Features
|
|
6
|
+
|
|
7
|
+
* add usePhantomRedirectEvents hook ([#10030](https://github.com/dynamic-labs/dynamic-auth/issues/10030)) ([fb8585e](https://github.com/dynamic-labs/dynamic-auth/commit/fb8585eec9847cd350be71d28291e9831a3f31b1))
|
|
8
|
+
* introduce embedded wallet reveal complete events ([#10068](https://github.com/dynamic-labs/dynamic-auth/issues/10068)) ([8ea79ce](https://github.com/dynamic-labs/dynamic-auth/commit/8ea79ceaba36745d46759c8e8c6681895b092096))
|
|
9
|
+
* **react-native:** add download file ([#9954](https://github.com/dynamic-labs/dynamic-auth/issues/9954)) ([408b00f](https://github.com/dynamic-labs/dynamic-auth/commit/408b00fabd2afbd87d12efb51e78ecbd89a323d3))
|
|
10
|
+
* **react-native:** add solana Phantom support with client module for listening to events ([#10033](https://github.com/dynamic-labs/dynamic-auth/issues/10033)) ([a5a2d11](https://github.com/dynamic-labs/dynamic-auth/commit/a5a2d11ccd3c102e22dece808a0ba4116155a582))
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
### Bug Fixes
|
|
14
|
+
|
|
15
|
+
* remove overflow from token balance dropdown ([#10044](https://github.com/dynamic-labs/dynamic-auth/issues/10044)) ([b37c5bb](https://github.com/dynamic-labs/dynamic-auth/commit/b37c5bb8e8c916b8d685b495555a3a3481cd5f0d))
|
|
16
|
+
|
|
2
17
|
## [4.49.0](https://github.com/dynamic-labs/dynamic-auth/compare/v4.48.2...v4.49.0) (2025-12-05)
|
|
3
18
|
|
|
4
19
|
|
package/package.cjs
CHANGED
package/package.js
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dynamic-labs/types",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.50.1",
|
|
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",
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
21
|
"@dynamic-labs/sdk-api-core": "0.0.831",
|
|
22
|
-
"@dynamic-labs/assert-package-version": "4.
|
|
22
|
+
"@dynamic-labs/assert-package-version": "4.50.1"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {}
|
|
25
25
|
}
|
package/src/index.d.ts
CHANGED
package/src/phantom.d.ts
ADDED
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Phantom redirect event payload types
|
|
3
|
+
* These are shared between wallet-connector-core and webview-messages
|
|
4
|
+
*/
|
|
5
|
+
export type PhantomSignMessagePayload = {
|
|
6
|
+
signature?: string;
|
|
7
|
+
errorCode?: string;
|
|
8
|
+
errorMessage?: string;
|
|
9
|
+
/** Unique ID to match this event with its originating request */
|
|
10
|
+
requestId?: string;
|
|
11
|
+
/** The message that was signed */
|
|
12
|
+
message?: string;
|
|
13
|
+
};
|
|
14
|
+
export type PhantomSignAndSendTransactionPayload = {
|
|
15
|
+
signature?: string;
|
|
16
|
+
errorCode?: string;
|
|
17
|
+
errorMessage?: string;
|
|
18
|
+
/** Unique ID to match this event with its originating request */
|
|
19
|
+
requestId?: string;
|
|
20
|
+
};
|
|
21
|
+
export type PhantomSignTransactionPayload = {
|
|
22
|
+
/** Signed serialized transaction, bs58-encoded */
|
|
23
|
+
transaction?: string;
|
|
24
|
+
errorCode?: string;
|
|
25
|
+
errorMessage?: string;
|
|
26
|
+
/** Unique ID to match this event with its originating request */
|
|
27
|
+
requestId?: string;
|
|
28
|
+
};
|
|
29
|
+
export type PhantomSignAllTransactionsPayload = {
|
|
30
|
+
/** Signed serialized transactions, bs58-encoded */
|
|
31
|
+
transactions?: string[];
|
|
32
|
+
errorCode?: string;
|
|
33
|
+
errorMessage?: string;
|
|
34
|
+
/** Unique ID to match this event with its originating request */
|
|
35
|
+
requestId?: string;
|
|
36
|
+
};
|