@namiml/web-sdk 3.3.9-dev.202603120528 → 3.3.9-dev.202603120541
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/components/utils/products.d.ts +8 -1
- package/dist/nami-web.cjs +22 -22
- package/dist/nami-web.mjs +22 -22
- package/dist/nami-web.umd.js +30 -30
- package/dist/translations/translate.d.ts +6 -0
- package/package.json +2 -1
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Returns the translated string for the given key in the current SDK language.
|
|
3
|
+
* Uses Nami language code from storage (set via Nami.configure({ namiLanguageCode })).
|
|
4
|
+
* Falls back to English if the key or locale is missing.
|
|
5
|
+
*/
|
|
6
|
+
export declare function getTranslate(key: string): string;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@namiml/web-sdk",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "3.3.9-dev.
|
|
4
|
+
"version": "3.3.9-dev.202603120541",
|
|
5
5
|
"source": "src/nami-web.ts",
|
|
6
6
|
"description": "Subscription monetization infrastructure — drop-in SDK with no-code paywalls, onboarding flows, A/B testing for web",
|
|
7
7
|
"scripts": {
|
|
@@ -80,6 +80,7 @@
|
|
|
80
80
|
"@open-wc/testing": "^4.0.0",
|
|
81
81
|
"@rollup/plugin-babel": "^6.0.4",
|
|
82
82
|
"@rollup/plugin-commonjs": "^28.0.6",
|
|
83
|
+
"@rollup/plugin-json": "^6.1.0",
|
|
83
84
|
"@rollup/plugin-node-resolve": "^15.2.3",
|
|
84
85
|
"@rollup/plugin-replace": "^5.0.5",
|
|
85
86
|
"@rollup/plugin-terser": "^0.4.4",
|