@ozura/elements 1.2.0-next.28 → 1.2.0-next.29
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/oz-elements.esm.js +2 -2
- package/dist/oz-elements.umd.js +2 -2
- package/dist/react/index.cjs.js +2 -2
- package/dist/react/index.esm.js +2 -2
- package/dist/react/sdk/createSessionFetcher.d.ts +2 -2
- package/dist/server/sdk/createSessionFetcher.d.ts +2 -2
- package/dist/types/sdk/createSessionFetcher.d.ts +2 -2
- package/package.json +1 -1
package/dist/oz-elements.esm.js
CHANGED
|
@@ -915,12 +915,12 @@ const PROTOCOL_VERSION = 1;
|
|
|
915
915
|
*
|
|
916
916
|
* @example
|
|
917
917
|
* // Simplest — just pass sessionUrl, no need to call this directly
|
|
918
|
-
* const vault = await OzVault.create({ pubKey: '
|
|
918
|
+
* const vault = await OzVault.create({ pubKey: 'pk_prod_...', sessionUrl: '/api/oz-session' });
|
|
919
919
|
*
|
|
920
920
|
* @example
|
|
921
921
|
* // Manual — use when you need custom headers
|
|
922
922
|
* const vault = await OzVault.create({
|
|
923
|
-
* pubKey: '
|
|
923
|
+
* pubKey: 'pk_prod_...',
|
|
924
924
|
* getSessionKey: createSessionFetcher('/api/oz-session'),
|
|
925
925
|
* });
|
|
926
926
|
*/
|
package/dist/oz-elements.umd.js
CHANGED
|
@@ -921,12 +921,12 @@
|
|
|
921
921
|
*
|
|
922
922
|
* @example
|
|
923
923
|
* // Simplest — just pass sessionUrl, no need to call this directly
|
|
924
|
-
* const vault = await OzVault.create({ pubKey: '
|
|
924
|
+
* const vault = await OzVault.create({ pubKey: 'pk_prod_...', sessionUrl: '/api/oz-session' });
|
|
925
925
|
*
|
|
926
926
|
* @example
|
|
927
927
|
* // Manual — use when you need custom headers
|
|
928
928
|
* const vault = await OzVault.create({
|
|
929
|
-
* pubKey: '
|
|
929
|
+
* pubKey: 'pk_prod_...',
|
|
930
930
|
* getSessionKey: createSessionFetcher('/api/oz-session'),
|
|
931
931
|
* });
|
|
932
932
|
*/
|
package/dist/react/index.cjs.js
CHANGED
|
@@ -865,12 +865,12 @@ const PROTOCOL_VERSION = 1;
|
|
|
865
865
|
*
|
|
866
866
|
* @example
|
|
867
867
|
* // Simplest — just pass sessionUrl, no need to call this directly
|
|
868
|
-
* const vault = await OzVault.create({ pubKey: '
|
|
868
|
+
* const vault = await OzVault.create({ pubKey: 'pk_prod_...', sessionUrl: '/api/oz-session' });
|
|
869
869
|
*
|
|
870
870
|
* @example
|
|
871
871
|
* // Manual — use when you need custom headers
|
|
872
872
|
* const vault = await OzVault.create({
|
|
873
|
-
* pubKey: '
|
|
873
|
+
* pubKey: 'pk_prod_...',
|
|
874
874
|
* getSessionKey: createSessionFetcher('/api/oz-session'),
|
|
875
875
|
* });
|
|
876
876
|
*/
|
package/dist/react/index.esm.js
CHANGED
|
@@ -863,12 +863,12 @@ const PROTOCOL_VERSION = 1;
|
|
|
863
863
|
*
|
|
864
864
|
* @example
|
|
865
865
|
* // Simplest — just pass sessionUrl, no need to call this directly
|
|
866
|
-
* const vault = await OzVault.create({ pubKey: '
|
|
866
|
+
* const vault = await OzVault.create({ pubKey: 'pk_prod_...', sessionUrl: '/api/oz-session' });
|
|
867
867
|
*
|
|
868
868
|
* @example
|
|
869
869
|
* // Manual — use when you need custom headers
|
|
870
870
|
* const vault = await OzVault.create({
|
|
871
|
-
* pubKey: '
|
|
871
|
+
* pubKey: 'pk_prod_...',
|
|
872
872
|
* getSessionKey: createSessionFetcher('/api/oz-session'),
|
|
873
873
|
* });
|
|
874
874
|
*/
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* // Simplest — just pass sessionUrl, no need to call this directly
|
|
20
|
-
* const vault = await OzVault.create({ pubKey: '
|
|
20
|
+
* const vault = await OzVault.create({ pubKey: 'pk_prod_...', sessionUrl: '/api/oz-session' });
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* // Manual — use when you need custom headers
|
|
24
24
|
* const vault = await OzVault.create({
|
|
25
|
-
* pubKey: '
|
|
25
|
+
* pubKey: 'pk_prod_...',
|
|
26
26
|
* getSessionKey: createSessionFetcher('/api/oz-session'),
|
|
27
27
|
* });
|
|
28
28
|
*/
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* // Simplest — just pass sessionUrl, no need to call this directly
|
|
20
|
-
* const vault = await OzVault.create({ pubKey: '
|
|
20
|
+
* const vault = await OzVault.create({ pubKey: 'pk_prod_...', sessionUrl: '/api/oz-session' });
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* // Manual — use when you need custom headers
|
|
24
24
|
* const vault = await OzVault.create({
|
|
25
|
-
* pubKey: '
|
|
25
|
+
* pubKey: 'pk_prod_...',
|
|
26
26
|
* getSessionKey: createSessionFetcher('/api/oz-session'),
|
|
27
27
|
* });
|
|
28
28
|
*/
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
*
|
|
18
18
|
* @example
|
|
19
19
|
* // Simplest — just pass sessionUrl, no need to call this directly
|
|
20
|
-
* const vault = await OzVault.create({ pubKey: '
|
|
20
|
+
* const vault = await OzVault.create({ pubKey: 'pk_prod_...', sessionUrl: '/api/oz-session' });
|
|
21
21
|
*
|
|
22
22
|
* @example
|
|
23
23
|
* // Manual — use when you need custom headers
|
|
24
24
|
* const vault = await OzVault.create({
|
|
25
|
-
* pubKey: '
|
|
25
|
+
* pubKey: 'pk_prod_...',
|
|
26
26
|
* getSessionKey: createSessionFetcher('/api/oz-session'),
|
|
27
27
|
* });
|
|
28
28
|
*/
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@ozura/elements",
|
|
3
|
-
"version": "1.2.0-next.
|
|
3
|
+
"version": "1.2.0-next.29",
|
|
4
4
|
"description": "PCI-compliant card tokenization SDK for the Ozura Vault — collect card data in iframe-isolated fields and tokenize without PCI scope",
|
|
5
5
|
"main": "dist/oz-elements.umd.js",
|
|
6
6
|
"module": "dist/oz-elements.esm.js",
|