@jsontech/react 0.0.7 → 0.0.9
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/README.md +3 -3
- package/package.json +3 -2
package/README.md
CHANGED
|
@@ -31,7 +31,7 @@ export function App() {
|
|
|
31
31
|
<ShipItProvider
|
|
32
32
|
config={{
|
|
33
33
|
// SDK automatically uses window.location.origin in browser
|
|
34
|
-
sdkKey: '
|
|
34
|
+
sdkKey: 'your-client-key-here' // Client key for browser
|
|
35
35
|
}}
|
|
36
36
|
initialUser={{ id: 'user-123' }}
|
|
37
37
|
>
|
|
@@ -149,9 +149,9 @@ The SDK automatically uses `window.location.origin` in the browser (assumes API
|
|
|
149
149
|
|
|
150
150
|
## SDK Keys
|
|
151
151
|
|
|
152
|
-
Use **client keys**
|
|
152
|
+
Use **client keys** for browser/mobile applications. Client keys are not secret and will be visible in your JavaScript bundle.
|
|
153
153
|
|
|
154
|
-
Get your SDK keys from
|
|
154
|
+
Get your SDK keys from your ShipIt Console → Environments.
|
|
155
155
|
|
|
156
156
|
## License
|
|
157
157
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jsontech/react",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.9",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -33,9 +33,10 @@
|
|
|
33
33
|
"react-dom": ">=18"
|
|
34
34
|
},
|
|
35
35
|
"dependencies": {
|
|
36
|
-
"@jsontech/sdk-js": "0.0.
|
|
36
|
+
"@jsontech/sdk-js": "0.0.9"
|
|
37
37
|
},
|
|
38
38
|
"devDependencies": {
|
|
39
|
+
"@types/node": "^22.10.2",
|
|
39
40
|
"@types/react": "^18.3.12",
|
|
40
41
|
"@types/react-dom": "^18.3.1",
|
|
41
42
|
"eslint": "^9.16.0",
|