@namiml/expo-sdk 3.4.4-dev.202606241952 → 3.4.4-dev.202606261908
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.cjs +8 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.mjs +1 -1
- package/dist/index.mjs.map +1 -1
- package/package.json +3 -3
- package/src/index.ts +16 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@namiml/expo-sdk",
|
|
3
|
-
"version": "3.4.4-dev.
|
|
3
|
+
"version": "3.4.4-dev.202606261908",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Nami Expo SDK — paywall and subscription management for Expo apps",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -29,8 +29,8 @@
|
|
|
29
29
|
"prepublishOnly": "yarn clean && yarn build:prod"
|
|
30
30
|
},
|
|
31
31
|
"dependencies": {
|
|
32
|
-
"@namiml/expo-nami-iap": "3.4.4-dev.
|
|
33
|
-
"@namiml/sdk-core": "3.4.4-dev.
|
|
32
|
+
"@namiml/expo-nami-iap": "3.4.4-dev.202606261908",
|
|
33
|
+
"@namiml/sdk-core": "3.4.4-dev.202606261908",
|
|
34
34
|
"react-native-qrcode-svg": "^6.3.21",
|
|
35
35
|
"react-native-safe-area-context": "^5.6.0",
|
|
36
36
|
"react-native-svg": "^15.15.4"
|
package/src/index.ts
CHANGED
|
@@ -29,6 +29,14 @@ export {
|
|
|
29
29
|
NamiPurchaseManager,
|
|
30
30
|
} from '@namiml/sdk-core';
|
|
31
31
|
|
|
32
|
+
// ─── Variant D handoff-outcome vocabularies (NAM-1562) ──────────────
|
|
33
|
+
// Const objects (value AND type), so they re-export as values — `export type`
|
|
34
|
+
// would drop the runtime objects handoff handlers read (NamiHandoffTag.SignIn,
|
|
35
|
+
// NamiPermissionOutcome.Push). The engine + routing live in @namiml/sdk-core
|
|
36
|
+
// (NAM-1557); Expo consumes the v2 `registerStepHandoff` on NamiFlowManager
|
|
37
|
+
// (already exported above) and reports outcomes via `complete(outcome)`.
|
|
38
|
+
export { NamiHandoffTag, NamiPermissionOutcome } from '@namiml/sdk-core';
|
|
39
|
+
|
|
32
40
|
// ─── Types (re-exported from core) ──────────────────────────────────
|
|
33
41
|
export type {
|
|
34
42
|
NamiConfiguration,
|
|
@@ -49,6 +57,14 @@ export type {
|
|
|
49
57
|
IPurchaseAdapter,
|
|
50
58
|
PurchaseContext,
|
|
51
59
|
PurchaseResult,
|
|
60
|
+
// Variant D handoff outcomes (NAM-1562) — handler + typed-outcome contracts.
|
|
61
|
+
NamiFlowHandoffStepHandler,
|
|
62
|
+
NamiFlowEventHandler,
|
|
63
|
+
NamiHandoffComplete,
|
|
64
|
+
NamiHandoffOutcome,
|
|
65
|
+
NamiLoginSuccess,
|
|
66
|
+
NamiHandoffAttributeValue,
|
|
67
|
+
NamiUserDataEnvelope,
|
|
52
68
|
} from '@namiml/sdk-core';
|
|
53
69
|
|
|
54
70
|
// ─── Adapters (advanced use) ────────────────────────────────────────
|