TIMESDevelopers
v1.0.0

Platform mode

Static bundles that use TIMES APIs through the bridge.

mode: "platform" is the default and needs no server. Your bundle is served from aip.times.et inside a sandboxed iframe. All data access goes through the bridge, which forwards calls to the TIMES API with the merchant session and checks your granted scopes.

Persistent state

Each install gets a key-value store scoped to the workspace and your slug.

const prefs = await client.api.getState<{ days: number }>('prefs');
await client.api.putState('prefs', { days: 7 }, prefs.revision);

Pass the last revision to avoid overwriting a newer write. A stale revision fails with a conflict.

Limits

LimitValue
Bundle size50 MB
State value size256 KB per key
API calls600 per minute per install

Need background jobs or third-party secrets? Use runtime mode.