@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.
@@ -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`) [2.49ms]
6
- (pass) parseEntitlements: isActive:false → inactive bucket, id still resolved [0.10ms]
7
- (pass) parseEntitlements: legacy `id` field still works [0.06ms]
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. [75.00ms]
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@superwall/core",
3
- "version": "0.1.1",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "license": "MIT",
6
6
  "exports": {