@superwall/core 0.1.1 → 0.1.3
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/.turbo/turbo-test.log +4 -4
- package/README.md +15 -0
- package/package.json +1 -1
package/.turbo/turbo-test.log
CHANGED
|
@@ -2,11 +2,11 @@ $ bun test
|
|
|
2
2
|
bun test v1.3.11 (af24e281)
|
|
3
3
|
|
|
4
4
|
src/wire.test.ts:
|
|
5
|
-
(pass) parseEntitlements reads the BE `identifier` field (not `id`) [
|
|
6
|
-
(pass) parseEntitlements: isActive:false → inactive bucket, id still resolved [0.
|
|
7
|
-
(pass) parseEntitlements: legacy `id` field still works [0.
|
|
5
|
+
(pass) parseEntitlements reads the BE `identifier` field (not `id`) [0.40ms]
|
|
6
|
+
(pass) parseEntitlements: isActive:false → inactive bucket, id still resolved [0.03ms]
|
|
7
|
+
(pass) parseEntitlements: legacy `id` field still works [0.02ms]
|
|
8
8
|
|
|
9
9
|
3 pass
|
|
10
10
|
0 fail
|
|
11
11
|
7 expect() calls
|
|
12
|
-
Ran 3 tests across 1 file. [
|
|
12
|
+
Ran 3 tests across 1 file. [14.00ms]
|
package/README.md
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
# @superwall/core
|
|
2
|
+
|
|
3
|
+
Shared internals for the Superwall web SDK — wire types, host resolution, and
|
|
4
|
+
common domain types used by the other `@superwall/*` packages.
|
|
5
|
+
|
|
6
|
+
**You probably don't need this directly.** Install one of:
|
|
7
|
+
|
|
8
|
+
- [`@superwall/paywalls-js`](https://www.npmjs.com/package/@superwall/paywalls-js) — the browser SDK
|
|
9
|
+
- [`@superwall/paywalls-react`](https://www.npmjs.com/package/@superwall/paywalls-react) — React bindings
|
|
10
|
+
- [`@superwall/server`](https://www.npmjs.com/package/@superwall/server) — server-side route gating
|
|
11
|
+
- [`@superwall/verify`](https://www.npmjs.com/package/@superwall/verify) — offline token verification
|
|
12
|
+
|
|
13
|
+
## License
|
|
14
|
+
|
|
15
|
+
MIT
|