palbase 0.66.0 → 0.68.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/README.md +3 -2
- package/dist/ai/index.js +2 -2
- package/dist/ai-sdk/index.js +2 -2
- package/dist/backend/engine.js +2 -2
- package/dist/backend/env.js +1 -1
- package/dist/backend/index.js +8 -8
- package/dist/backend/stack.js +1 -1
- package/dist/backend/test.js +2 -2
- package/dist/chunks/{YO7F2OI2.js → 22GRHCVI.js} +1 -1
- package/dist/chunks/{GYB7XBYV.js → 2ZHSNWVZ.js} +2 -2
- package/dist/chunks/3OP3YJ63.js +22 -0
- package/dist/chunks/{QT7PHIRR.js → 4YV35XDP.js} +2 -2
- package/dist/chunks/{PQ23MXWT.js → 5ZXXBM6L.js} +2 -2
- package/dist/chunks/{QKAKVJLA.js → 622BI7EV.js} +1 -1
- package/dist/chunks/65QZXK2S.js +2 -0
- package/dist/chunks/{HECZUS65.js → 7SGTDHXJ.js} +2 -2
- package/dist/chunks/{UZERPL37.js → D6EUPFUR.js} +2 -2
- package/dist/chunks/EGWQ3EJE.js +21 -0
- package/dist/chunks/{4DOKNJUJ.js → EJAGO6ZV.js} +2 -2
- package/dist/chunks/{FFRCUMXB.js → F4B6ELAN.js} +2 -2
- package/dist/chunks/IZWB7FGX.js +6 -0
- package/dist/chunks/{243727GR.js → J7WJF7F4.js} +2 -2
- package/dist/chunks/{REON7CA7.js → LUUXXMXH.js} +1 -1
- package/dist/chunks/MVY4K43S.js +13 -0
- package/dist/chunks/{PZXACOXA.js → OWLXCD3D.js} +1 -1
- package/dist/chunks/PP7MW4OT.js +2 -0
- package/dist/chunks/{2DGYQO2K.js → QFZ4GCJH.js} +2 -2
- package/dist/chunks/QQUIM4VK.js +2 -0
- package/dist/chunks/UJLFALKX.js +2 -0
- package/dist/chunks/{7JAVCOPA.js → XJLAH42O.js} +1 -1
- package/dist/chunks/{ZV6WG4DE.js → XU4G5W72.js} +1 -1
- package/dist/chunks/YCDAV3WO.js +2 -0
- package/dist/cli.js +275 -273
- package/dist/cloud/index.js +2 -2
- package/dist/refuse/ai-sdk.js +1 -1
- package/dist/refuse/ai.js +1 -1
- package/dist/refuse/backend.js +1 -1
- package/dist/refuse/cloud.js +1 -1
- package/dist/refuse/server.js +1 -1
- package/dist/server/index.js +2 -2
- package/dist/server/testing.js +2 -2
- package/dist/web/index.js +2 -2
- package/dist/web/message.js +2 -2
- package/dist/web/palbe.js +2 -2
- package/dist/web/payments-ui.js +264 -0
- package/dist/web/paywall.js +2 -2
- package/dist/web/push-sw.js +1 -1
- package/dist/web/ssr.js +2 -2
- package/dist/web/vite.js +4 -4
- package/package.json +7 -2
- package/types/backend/src/decorators.d.ts +1 -8
- package/types/backend/src/idempotency.d.ts +18 -0
- package/types/backend/src/index.d.ts +1 -1
- package/types/backend/src/strings-files.d.ts +5 -6
- package/types/cloud/src/generated/project.d.ts +2 -1
- package/types/cloud/src/generated/studio.d.ts +3 -3
- package/types/internal/src/event.d.ts +1 -1
- package/types/internal/src/modules/ai.d.ts +1 -1
- package/types/internal/src/modules/analytics.d.ts +1 -1
- package/types/internal/src/modules/events.d.ts +5 -4
- package/types/internal/src/modules/{purchases.d.ts → iap.d.ts} +2183 -2438
- package/types/internal/src/modules/index.d.ts +2 -1
- package/types/internal/src/modules/journeys.d.ts +1 -1
- package/types/internal/src/modules/notify.d.ts +3 -3
- package/types/internal/src/modules/payments.d.ts +3286 -0
- package/types/internal/src/modules/stores.d.ts +7 -7
- package/types/server/src/{purchases.d.ts → iap.d.ts} +7 -7
- package/types/server/src/index.d.ts +2 -1
- package/types/server/src/payments.d.ts +65 -0
- package/types/server/src/server.d.ts +4 -1
- package/types/web/src/client.d.ts +6 -3
- package/types/web/src/{purchases.d.ts → iap.d.ts} +46 -56
- package/types/web/src/inapp.d.ts +5 -5
- package/types/web/src/index.d.ts +2 -1
- package/types/web/src/messaging.d.ts +1 -0
- package/types/web/src/notify.d.ts +2 -2
- package/types/web/src/payments-ui/index.d.ts +7 -0
- package/types/web/src/payments-ui/payment-sheet.d.ts +13 -0
- package/types/web/src/payments-ui/qr.d.ts +9 -0
- package/types/web/src/payments-ui/saved-cards-view.d.ts +7 -0
- package/types/web/src/payments-ui/spend-qr-view.d.ts +8 -0
- package/types/web/src/payments-ui/theme.d.ts +16 -0
- package/types/web/src/payments-ui/types.d.ts +149 -0
- package/types/web/src/payments-ui/wallet-topup-sheet.d.ts +7 -0
- package/types/web/src/payments.d.ts +281 -0
- package/types/web/src/paywall/placement.d.ts +6 -8
- package/types/web/src/screen/assets.d.ts +1 -1
- package/types/web/src/screen/resolve.d.ts +3 -3
- package/dist/chunks/47OT2TAE.js +0 -6
- package/dist/chunks/GS7AQ2KQ.js +0 -2
- package/dist/chunks/GVC6OZMF.js +0 -13
- package/dist/chunks/L5DVXXH3.js +0 -2
- package/dist/chunks/MTOW4UUP.js +0 -2
- package/dist/chunks/V7X2RHTR.js +0 -21
- package/dist/chunks/ZA5NYGQH.js +0 -22
- package/dist/chunks/ZY6P5WKM.js +0 -2
|
@@ -4,11 +4,12 @@ export * as auth from './auth.js';
|
|
|
4
4
|
export * as cache from './cache.js';
|
|
5
5
|
export * as calls from './calls.js';
|
|
6
6
|
export * as flags from './flags.js';
|
|
7
|
+
export * as iap from './iap.js';
|
|
7
8
|
export * as journeys from './journeys.js';
|
|
8
9
|
export * as machines from './machines.js';
|
|
9
10
|
export * as messaging from './messaging.js';
|
|
10
11
|
export * as notify from './notify.js';
|
|
11
|
-
export * as
|
|
12
|
+
export * as payments from './payments.js';
|
|
12
13
|
export * as realtime from './realtime.js';
|
|
13
14
|
export * as secrets from './secrets.js';
|
|
14
15
|
export * as storage from './storage.js';
|
|
@@ -186,7 +186,7 @@ export type EventCondition = {
|
|
|
186
186
|
within?: string;
|
|
187
187
|
};
|
|
188
188
|
/**
|
|
189
|
-
* An event by its name (an app's event, or a module's:
|
|
189
|
+
* An event by its name (an app's event, or a module's: iap.purchase.completed, iap.coupon.redeemed, payments.intent.succeeded, audience.entered), with properties it must have, each equal.
|
|
190
190
|
*/
|
|
191
191
|
export type EventMatch = {
|
|
192
192
|
/**
|
|
@@ -145,7 +145,7 @@ export type EmailSend = {
|
|
|
145
145
|
*/
|
|
146
146
|
category?: string;
|
|
147
147
|
/**
|
|
148
|
-
* One of
|
|
148
|
+
* One of iap's coupons: {{coupon}} is the user's (user_id) own code of it — a shared coupon's code, or one of its one-time codes given to them, recorded as theirs.
|
|
149
149
|
*/
|
|
150
150
|
coupon?: string;
|
|
151
151
|
from?: EmailFrom;
|
|
@@ -305,7 +305,7 @@ export type InAppCampaignWrite = {
|
|
|
305
305
|
audience_id?: string;
|
|
306
306
|
conversion?: InAppConversion;
|
|
307
307
|
/**
|
|
308
|
-
* One of
|
|
308
|
+
* One of iap's coupons: {{coupon}} is each person's own code of it — the campaign is shown to users alone, and waits for one the coupon has no code for.
|
|
309
309
|
*/
|
|
310
310
|
coupon?: string;
|
|
311
311
|
definition: MessageDefinition;
|
|
@@ -2225,7 +2225,7 @@ export type PushSend = {
|
|
|
2225
2225
|
collapse_key?: string;
|
|
2226
2226
|
content_available?: boolean;
|
|
2227
2227
|
/**
|
|
2228
|
-
* One of
|
|
2228
|
+
* One of iap's coupons: {{coupon}} is each user's own code of it, given as the push goes (a shared coupon's code, or one of its one-time codes, recorded as theirs). A push to an installation of no one fails: a code is a user's.
|
|
2229
2229
|
*/
|
|
2230
2230
|
coupon?: string;
|
|
2231
2231
|
data?: PushData;
|