@phantom/react-native-sdk 1.0.0 → 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.
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +10 -10
package/dist/index.js
CHANGED
|
@@ -557,7 +557,7 @@ var ExpoAuthProvider = class {
|
|
|
557
557
|
// OAuth session management - defaults to allow refresh unless explicitly clearing after logout
|
|
558
558
|
clear_previous_session: (phantomOptions.clearPreviousSession ?? false).toString(),
|
|
559
559
|
allow_refresh: (phantomOptions.allowRefresh ?? true).toString(),
|
|
560
|
-
sdk_version: "1.0.
|
|
560
|
+
sdk_version: "1.0.2",
|
|
561
561
|
sdk_type: "react-native",
|
|
562
562
|
platform: import_react_native5.Platform.OS
|
|
563
563
|
});
|
|
@@ -961,7 +961,7 @@ function PhantomProvider({ children, config, debugConfig, theme, appIcon, appNam
|
|
|
961
961
|
[import_constants2.ANALYTICS_HEADERS.PLATFORM_VERSION]: `${import_react_native7.Platform.Version}`,
|
|
962
962
|
[import_constants2.ANALYTICS_HEADERS.APP_ID]: config.appId,
|
|
963
963
|
[import_constants2.ANALYTICS_HEADERS.WALLET_TYPE]: config.embeddedWalletType,
|
|
964
|
-
[import_constants2.ANALYTICS_HEADERS.SDK_VERSION]: "1.0.
|
|
964
|
+
[import_constants2.ANALYTICS_HEADERS.SDK_VERSION]: "1.0.2"
|
|
965
965
|
// Replaced at build time
|
|
966
966
|
}
|
|
967
967
|
};
|
package/dist/index.mjs
CHANGED
|
@@ -515,7 +515,7 @@ var ExpoAuthProvider = class {
|
|
|
515
515
|
// OAuth session management - defaults to allow refresh unless explicitly clearing after logout
|
|
516
516
|
clear_previous_session: (phantomOptions.clearPreviousSession ?? false).toString(),
|
|
517
517
|
allow_refresh: (phantomOptions.allowRefresh ?? true).toString(),
|
|
518
|
-
sdk_version: "1.0.
|
|
518
|
+
sdk_version: "1.0.2",
|
|
519
519
|
sdk_type: "react-native",
|
|
520
520
|
platform: Platform.OS
|
|
521
521
|
});
|
|
@@ -919,7 +919,7 @@ function PhantomProvider({ children, config, debugConfig, theme, appIcon, appNam
|
|
|
919
919
|
[ANALYTICS_HEADERS.PLATFORM_VERSION]: `${Platform2.Version}`,
|
|
920
920
|
[ANALYTICS_HEADERS.APP_ID]: config.appId,
|
|
921
921
|
[ANALYTICS_HEADERS.WALLET_TYPE]: config.embeddedWalletType,
|
|
922
|
-
[ANALYTICS_HEADERS.SDK_VERSION]: "1.0.
|
|
922
|
+
[ANALYTICS_HEADERS.SDK_VERSION]: "1.0.2"
|
|
923
923
|
// Replaced at build time
|
|
924
924
|
}
|
|
925
925
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phantom/react-native-sdk",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.2",
|
|
4
4
|
"description": "Phantom Wallet SDK for React Native and Expo applications",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/index.mjs",
|
|
@@ -45,15 +45,15 @@
|
|
|
45
45
|
"directory": "packages/react-native-sdk"
|
|
46
46
|
},
|
|
47
47
|
"dependencies": {
|
|
48
|
-
"@phantom/api-key-stamper": "^1.0.
|
|
49
|
-
"@phantom/base64url": "^1.0.
|
|
50
|
-
"@phantom/chain-interfaces": "^1.0.
|
|
51
|
-
"@phantom/client": "^1.0.
|
|
52
|
-
"@phantom/constants": "^1.0.
|
|
53
|
-
"@phantom/crypto": "^1.0.
|
|
54
|
-
"@phantom/embedded-provider-core": "^1.0.
|
|
55
|
-
"@phantom/sdk-types": "^1.0.
|
|
56
|
-
"@phantom/wallet-sdk-ui": "^1.0.
|
|
48
|
+
"@phantom/api-key-stamper": "^1.0.2",
|
|
49
|
+
"@phantom/base64url": "^1.0.2",
|
|
50
|
+
"@phantom/chain-interfaces": "^1.0.2",
|
|
51
|
+
"@phantom/client": "^1.0.2",
|
|
52
|
+
"@phantom/constants": "^1.0.2",
|
|
53
|
+
"@phantom/crypto": "^1.0.2",
|
|
54
|
+
"@phantom/embedded-provider-core": "^1.0.2",
|
|
55
|
+
"@phantom/sdk-types": "^1.0.2",
|
|
56
|
+
"@phantom/wallet-sdk-ui": "^1.0.2",
|
|
57
57
|
"@types/bs58": "^5.0.0",
|
|
58
58
|
"bs58": "^6.0.0",
|
|
59
59
|
"buffer": "^6.0.3"
|