siteplane 0.1.43 → 0.1.44

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.
@@ -5397,6 +5397,8 @@ async function setupDeployCommand(input, deps = defaults) {
5397
5397
  if (admin && admin.comment !== `Siteplane admin generation ${generation}`)
5398
5398
  fail2("admin_secret_generation_conflict", "The provider admin secret does not match the recorded setup generation. No secret was replaced.");
5399
5399
  const publicBindings = {
5400
+ SITEPLANE_SITE_KEY: config.publicSiteKey,
5401
+ RUNTIME_API_BASE_URL: config.apiBaseUrl,
5400
5402
  SITEPLANE_SITE_ORIGIN: origin,
5401
5403
  SITEPLANE_SETUP_RUN_ID: config.runId,
5402
5404
  SITEPLANE_PORTAL_PATH: task.site.portalPath,
@@ -5502,8 +5504,8 @@ async function setupDeployCommand(input, deps = defaults) {
5502
5504
  if (record.phase === "planned") {
5503
5505
  if (deps.now() >= Date.parse(record.deadline))
5504
5506
  fail2("provider_deadline_exceeded", "The setup provider deadline expired before configuration. Inspect its existing record before a new attempt.");
5505
- if (pending.length)
5506
- await api(`/v10/projects/${provider.projectId}/env?${scope}&upsert=true`, pending);
5507
+ for (const binding of pending)
5508
+ await api(`/v10/projects/${provider.projectId}/env?${scope}&upsert=true`, binding);
5507
5509
  env = await listEnv();
5508
5510
  for (const [key, value] of Object.entries(values)) {
5509
5511
  const item = owned(key);
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "siteplane",
3
3
  "private": false,
4
- "version": "0.1.43",
4
+ "version": "0.1.44",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE",
7
7
  "publishConfig": {