@baukit/purchases-core 0.25.2 → 0.26.0

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@baukit/purchases-core",
3
- "version": "0.25.2",
3
+ "version": "0.26.0",
4
4
  "description": "Store-neutral mobile purchases: a purchases port, a no-op client, a purchase flow that waits for suite identity and the refreshed entitlement, and feature-key gating hooks.",
5
5
  "license": "MIT",
6
6
  "author": "Patrick Koss",
@@ -64,6 +64,6 @@
64
64
  }
65
65
  },
66
66
  "dependencies": {
67
- "@baukit/type-guards": "^0.25.2"
67
+ "@baukit/type-guards": "^0.26.0"
68
68
  }
69
69
  }
@@ -18,9 +18,9 @@ import { PurchasesProvider, useFeature, useOrganizationPlan } from './react.js';
18
18
 
19
19
  const STUDIO = '00000000-0000-0000-0000-00000000000a';
20
20
  const AGENCY = '00000000-0000-0000-0000-00000000000b';
21
- const PRIVACY = 'ahp.privacy';
22
- const AUTOMATION = 'ahp.automation';
23
- const context = { productId: 'ahp' };
21
+ const PRIVACY = 'bv.privacy';
22
+ const AUTOMATION = 'bv.automation';
23
+ const context = { productId: 'bv' };
24
24
 
25
25
  function organizationPlan(
26
26
  organizationId: string,
@@ -149,7 +149,7 @@ describe('useFeature with an organization plan', () => {
149
149
  port: createNoopPurchasesPort(),
150
150
  backend: { refreshEntitlement: () => Promise.resolve(null) },
151
151
  });
152
- return createElement(PurchasesProvider, { flow, productId: 'ahp' }, children);
152
+ return createElement(PurchasesProvider, { flow, productId: 'bv' }, children);
153
153
  }
154
154
 
155
155
  it('gates without a suite session, as for an organization token', async () => {