@hot-updater/supabase 1.2.0-rc.56 → 1.2.0-rc.58

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.
@@ -7708,6 +7708,7 @@ const runInitWithoutCliMetadata = async ({ build, envFile, secretsEnv }) => {
7708
7708
  ({clientPlugins} = managedServer);
7709
7709
  try {
7710
7710
  await (0, _hot_updater_cli_tools.fillReleaseLabels)(managedServer);
7711
+ await (0, _hot_updater_cli_tools.backfillInsightsReleaseRefs)(managedServer);
7711
7712
  credential = await (0, _hot_updater_cli_tools.provisionClientCredential)(managedServer, {
7712
7713
  env: initInputEnv,
7713
7714
  name: "Supabase init"
@@ -1,7 +1,7 @@
1
1
  import { createRequire } from "node:module";
2
2
  import fs from "fs/promises";
3
3
  import path from "path";
4
- import { ConfigBuilder, InitError, MissingInitInputsError, assembleServer, assertInfrastructureGenerationAtUrl, assertInitInputs, assertInitProviderInputs, confirmInitInputPersistence, copyDirToTmp, createHotUpdaterConfigScaffoldFromBuilder, fillReleaseLabels, getHotUpdaterEnvValue, getHotUpdaterInitInputEnv, getInitProviderEnvVars, getInitProviderTextPromptValues, link, makeEnv, moduleSpecifiersOf, p, printAppSetup, provisionClientCredential, readHotUpdaterInitEnv, resolveInitProviderInput, resolvePackageVersion, transformEnv, transformTemplate, writeHotUpdaterFiles } from "@hot-updater/cli-tools";
4
+ import { ConfigBuilder, InitError, MissingInitInputsError, assembleServer, assertInfrastructureGenerationAtUrl, assertInitInputs, assertInitProviderInputs, backfillInsightsReleaseRefs, confirmInitInputPersistence, copyDirToTmp, createHotUpdaterConfigScaffoldFromBuilder, fillReleaseLabels, getHotUpdaterEnvValue, getHotUpdaterInitInputEnv, getInitProviderEnvVars, getInitProviderTextPromptValues, link, makeEnv, moduleSpecifiersOf, p, printAppSetup, provisionClientCredential, readHotUpdaterInitEnv, resolveInitProviderInput, resolvePackageVersion, transformEnv, transformTemplate, writeHotUpdaterFiles } from "@hot-updater/cli-tools";
5
5
  import { apiKeys, insights, remoteConfig } from "@hot-updater/server/plugins";
6
6
  import { fileURLToPath } from "node:url";
7
7
  import { ChildProcess, execFile, spawn, spawnSync } from "node:child_process";
@@ -7703,6 +7703,7 @@ const runInitWithoutCliMetadata = async ({ build, envFile, secretsEnv }) => {
7703
7703
  ({clientPlugins} = managedServer);
7704
7704
  try {
7705
7705
  await fillReleaseLabels(managedServer);
7706
+ await backfillInsightsReleaseRefs(managedServer);
7706
7707
  credential = await provisionClientCredential(managedServer, {
7707
7708
  env: initInputEnv,
7708
7709
  name: "Supabase init"
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@hot-updater/supabase",
3
3
  "type": "module",
4
- "version": "1.2.0-rc.56",
4
+ "version": "1.2.0-rc.58",
5
5
  "description": "React Native OTA solution for self-hosted",
6
6
  "main": "dist/index.cjs",
7
7
  "module": "dist/index.mjs",
@@ -51,10 +51,10 @@
51
51
  "@supabase/supabase-js": "2.76.1",
52
52
  "hono": "4.12.34",
53
53
  "uuidv7": "^1.0.2",
54
- "@hot-updater/cli-tools": "1.2.0-rc.56",
55
- "@hot-updater/plugin-core": "1.2.0-rc.56",
56
- "@hot-updater/server": "1.2.0-rc.56",
57
- "@hot-updater/protocol": "1.2.0-rc.56"
54
+ "@hot-updater/protocol": "1.2.0-rc.58",
55
+ "@hot-updater/cli-tools": "1.2.0-rc.58",
56
+ "@hot-updater/server": "1.2.0-rc.58",
57
+ "@hot-updater/plugin-core": "1.2.0-rc.58"
58
58
  },
59
59
  "devDependencies": {
60
60
  "@electric-sql/pglite": "0.4.1",
@@ -64,9 +64,9 @@
64
64
  "execa": "9.5.2",
65
65
  "@types/node": "^20",
66
66
  "mime": "^4.0.4",
67
- "@hot-updater/mock": "1.2.0-rc.56",
68
- "@hot-updater/test-utils": "1.2.0-rc.56",
69
- "@hot-updater/postgres": "1.2.0-rc.56"
67
+ "@hot-updater/mock": "1.2.0-rc.58",
68
+ "@hot-updater/test-utils": "1.2.0-rc.58",
69
+ "@hot-updater/postgres": "1.2.0-rc.58"
70
70
  },
71
71
  "scripts": {
72
72
  "build": "tsdown",