@hot-updater/standalone 0.21.15 → 0.22.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/dist/index.cjs +4 -4
- package/dist/index.js +4 -4
- package/package.json +3 -3
package/dist/index.cjs
CHANGED
|
@@ -33,16 +33,16 @@ path = __toESM(path);
|
|
|
33
33
|
|
|
34
34
|
//#region src/standaloneRepository.ts
|
|
35
35
|
const defaultRoutes$1 = {
|
|
36
|
-
upsert: () => ({ path: "/bundles" }),
|
|
36
|
+
upsert: () => ({ path: "/api/bundles" }),
|
|
37
37
|
list: () => ({
|
|
38
|
-
path: "/bundles",
|
|
38
|
+
path: "/api/bundles",
|
|
39
39
|
headers: { "Cache-Control": "no-cache" }
|
|
40
40
|
}),
|
|
41
41
|
retrieve: (bundleId) => ({
|
|
42
|
-
path: `/bundles/${bundleId}`,
|
|
42
|
+
path: `/api/bundles/${bundleId}`,
|
|
43
43
|
headers: { Accept: "application/json" }
|
|
44
44
|
}),
|
|
45
|
-
delete: (bundleId) => ({ path: `/bundles/${bundleId}` })
|
|
45
|
+
delete: (bundleId) => ({ path: `/api/bundles/${bundleId}` })
|
|
46
46
|
};
|
|
47
47
|
const createRoute$1 = (defaultRoute, customRoute) => ({
|
|
48
48
|
path: customRoute?.path ?? defaultRoute.path,
|
package/dist/index.js
CHANGED
|
@@ -30,16 +30,16 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
|
|
|
30
30
|
//#endregion
|
|
31
31
|
//#region src/standaloneRepository.ts
|
|
32
32
|
const defaultRoutes$1 = {
|
|
33
|
-
upsert: () => ({ path: "/bundles" }),
|
|
33
|
+
upsert: () => ({ path: "/api/bundles" }),
|
|
34
34
|
list: () => ({
|
|
35
|
-
path: "/bundles",
|
|
35
|
+
path: "/api/bundles",
|
|
36
36
|
headers: { "Cache-Control": "no-cache" }
|
|
37
37
|
}),
|
|
38
38
|
retrieve: (bundleId) => ({
|
|
39
|
-
path: `/bundles/${bundleId}`,
|
|
39
|
+
path: `/api/bundles/${bundleId}`,
|
|
40
40
|
headers: { Accept: "application/json" }
|
|
41
41
|
}),
|
|
42
|
-
delete: (bundleId) => ({ path: `/bundles/${bundleId}` })
|
|
42
|
+
delete: (bundleId) => ({ path: `/api/bundles/${bundleId}` })
|
|
43
43
|
};
|
|
44
44
|
const createRoute$1 = (defaultRoute, customRoute) => ({
|
|
45
45
|
path: customRoute?.path ?? defaultRoute.path,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hot-updater/standalone",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.22.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "React Native OTA solution for self-hosted",
|
|
6
6
|
"sideEffects": false,
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"access": "public"
|
|
40
40
|
},
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@hot-updater/
|
|
43
|
-
"@hot-updater/core": "0.
|
|
42
|
+
"@hot-updater/core": "0.22.0",
|
|
43
|
+
"@hot-updater/plugin-core": "0.22.0"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"mime": "2.6.0",
|