@limrun/api 0.5.0 → 0.5.1

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.5.1 (2025-09-07)
4
+
5
+ Full Changelog: [v0.5.0...v0.5.1](https://github.com/limrun-inc/typescript-sdk/compare/v0.5.0...v0.5.1)
6
+
7
+ ### Features
8
+
9
+ * **api:** fix the assets property of Limrun class export ([c35bfe7](https://github.com/limrun-inc/typescript-sdk/commit/c35bfe7abbbbc846802118fca3f9d5057083ca74))
10
+ * **examples:** add tunnel example ([1e316ec](https://github.com/limrun-inc/typescript-sdk/commit/1e316ec1d25e645f119c46ce37e0f13d0bf40380))
11
+
12
+
13
+ ### Chores
14
+
15
+ * lint issue ([96ff769](https://github.com/limrun-inc/typescript-sdk/commit/96ff769ac235de263be7ac9d48ece144a54b7148))
16
+
3
17
  ## 0.5.0 (2025-09-07)
4
18
 
5
19
  Full Changelog: [v0.4.0...v0.5.0](https://github.com/limrun-inc/typescript-sdk/compare/v0.4.0...v0.5.0)
package/internal/tslib.js CHANGED
@@ -1,10 +1,26 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.__setModuleDefault = exports.__createBinding = void 0;
4
- exports.__exportStar = __exportStar;
5
4
  exports.__classPrivateFieldSet = __classPrivateFieldSet;
6
5
  exports.__classPrivateFieldGet = __classPrivateFieldGet;
7
6
  exports.__importStar = __importStar;
7
+ exports.__exportStar = __exportStar;
8
+ function __classPrivateFieldSet(receiver, state, value, kind, f) {
9
+ if (kind === "m")
10
+ throw new TypeError("Private method is not writable");
11
+ if (kind === "a" && !f)
12
+ throw new TypeError("Private accessor was defined without a setter");
13
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
14
+ throw new TypeError("Cannot write private member to an object whose class did not declare it");
15
+ return kind === "a" ? f.call(receiver, value) : f ? (f.value = value) : state.set(receiver, value), value;
16
+ }
17
+ function __classPrivateFieldGet(receiver, state, kind, f) {
18
+ if (kind === "a" && !f)
19
+ throw new TypeError("Private accessor was defined without a getter");
20
+ if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
21
+ throw new TypeError("Cannot read private member from an object whose class did not declare it");
22
+ return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
23
+ }
8
24
  var __createBinding = Object.create
9
25
  ? function (o, m, k, k2) {
10
26
  if (k2 === void 0)
@@ -26,27 +42,6 @@ var __createBinding = Object.create
26
42
  o[k2] = m[k];
27
43
  };
28
44
  exports.__createBinding = __createBinding;
29
- function __exportStar(m, o) {
30
- for (var p in m)
31
- if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
32
- __createBinding(o, m, p);
33
- }
34
- function __classPrivateFieldSet(receiver, state, value, kind, f) {
35
- if (kind === "m")
36
- throw new TypeError("Private method is not writable");
37
- if (kind === "a" && !f)
38
- throw new TypeError("Private accessor was defined without a setter");
39
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
40
- throw new TypeError("Cannot write private member to an object whose class did not declare it");
41
- return kind === "a" ? f.call(receiver, value) : f ? (f.value = value) : state.set(receiver, value), value;
42
- }
43
- function __classPrivateFieldGet(receiver, state, kind, f) {
44
- if (kind === "a" && !f)
45
- throw new TypeError("Private accessor was defined without a getter");
46
- if (typeof state === "function" ? receiver !== state || !f : !state.has(receiver))
47
- throw new TypeError("Cannot read private member from an object whose class did not declare it");
48
- return kind === "m" ? f : kind === "a" ? f.call(receiver) : f ? f.value : state.get(receiver);
49
- }
50
45
  var __setModuleDefault = Object.create
51
46
  ? function (o, v) {
52
47
  Object.defineProperty(o, "default", { enumerable: true, value: v });
@@ -79,3 +74,8 @@ function __importStar(mod) {
79
74
  __setModuleDefault(result, mod);
80
75
  return result;
81
76
  }
77
+ function __exportStar(m, o) {
78
+ for (var p in m)
79
+ if (p !== "default" && !Object.prototype.hasOwnProperty.call(o, p))
80
+ __createBinding(o, m, p);
81
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@limrun/api",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
4
4
  "description": "The official TypeScript library for the Limrun API",
5
5
  "author": "Limrun <contact@limrun.com>",
6
6
  "types": "./index.d.ts",
@@ -1,4 +1,4 @@
1
1
  export { AndroidInstances, type AndroidInstance, type AndroidInstanceState, type AndroidInstanceListResponse, type AndroidInstanceCreateParams, type AndroidInstanceListParams, } from "./android-instances.mjs";
2
- export { Assets, type Asset, type AssetListResponse, type AssetGetOrCreateResponse, type AssetListParams, type AssetGetParams, type AssetGetOrCreateParams, } from "./assets.mjs";
3
- export * from "./assets-helpers.mjs";
2
+ export { type Asset, type AssetListResponse, type AssetGetOrCreateResponse, type AssetListParams, type AssetGetParams, type AssetGetOrCreateParams, } from "./assets.mjs";
3
+ export { Assets, AssetGetOrUploadParams, AssetGetOrUploadResponse } from "./assets-helpers.mjs";
4
4
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B;OACM,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,sBAAsB,GAC5B"}
1
+ {"version":3,"file":"index.d.mts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B;OACM,EACL,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,sBAAsB,GAC5B;OAEM,EAAE,MAAM,EAAE,sBAAsB,EAAE,wBAAwB,EAAE"}
@@ -1,4 +1,4 @@
1
1
  export { AndroidInstances, type AndroidInstance, type AndroidInstanceState, type AndroidInstanceListResponse, type AndroidInstanceCreateParams, type AndroidInstanceListParams, } from "./android-instances.js";
2
- export { Assets, type Asset, type AssetListResponse, type AssetGetOrCreateResponse, type AssetListParams, type AssetGetParams, type AssetGetOrCreateParams, } from "./assets.js";
3
- export * from "./assets-helpers.js";
2
+ export { type Asset, type AssetListResponse, type AssetGetOrCreateResponse, type AssetListParams, type AssetGetParams, type AssetGetOrCreateParams, } from "./assets.js";
3
+ export { Assets, AssetGetOrUploadParams, AssetGetOrUploadResponse } from "./assets-helpers.js";
4
4
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B;OACM,EACL,MAAM,EACN,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,sBAAsB,GAC5B"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"OAEO,EACL,gBAAgB,EAChB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,2BAA2B,EAChC,KAAK,2BAA2B,EAChC,KAAK,yBAAyB,GAC/B;OACM,EACL,KAAK,KAAK,EACV,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,eAAe,EACpB,KAAK,cAAc,EACnB,KAAK,sBAAsB,GAC5B;OAEM,EAAE,MAAM,EAAE,sBAAsB,EAAE,wBAAwB,EAAE"}
@@ -2,10 +2,8 @@
2
2
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
3
3
  Object.defineProperty(exports, "__esModule", { value: true });
4
4
  exports.Assets = exports.AndroidInstances = void 0;
5
- const tslib_1 = require("../internal/tslib.js");
6
5
  var android_instances_1 = require("./android-instances.js");
7
6
  Object.defineProperty(exports, "AndroidInstances", { enumerable: true, get: function () { return android_instances_1.AndroidInstances; } });
8
- var assets_1 = require("./assets.js");
9
- Object.defineProperty(exports, "Assets", { enumerable: true, get: function () { return assets_1.Assets; } });
10
- tslib_1.__exportStar(require("./assets-helpers.js"), exports);
7
+ var assets_helpers_1 = require("./assets-helpers.js");
8
+ Object.defineProperty(exports, "Assets", { enumerable: true, get: function () { return assets_helpers_1.Assets; } });
11
9
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;;AAEtF,4DAO6B;AAN3B,qHAAA,gBAAgB,OAAA;AAOlB,sCAQkB;AAPhB,gGAAA,MAAM,OAAA;AASR,8DAAiC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":";AAAA,sFAAsF;;;AAEtF,4DAO6B;AAN3B,qHAAA,gBAAgB,OAAA;AAgBlB,sDAA4F;AAAnF,wGAAA,MAAM,OAAA"}
@@ -1,5 +1,4 @@
1
1
  // File generated from our OpenAPI spec by Stainless. See CONTRIBUTING.md for details.
2
2
  export { AndroidInstances, } from "./android-instances.mjs";
3
- export { Assets, } from "./assets.mjs";
4
- export * from "./assets-helpers.mjs";
3
+ export { Assets } from "./assets-helpers.mjs";
5
4
  //# sourceMappingURL=index.mjs.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,gBAAgB,GAMjB;OACM,EACL,MAAM,GAOP"}
1
+ {"version":3,"file":"index.mjs","sourceRoot":"","sources":["../src/resources/index.ts"],"names":[],"mappings":"AAAA,sFAAsF;OAE/E,EACL,gBAAgB,GAMjB;OAUM,EAAE,MAAM,EAAoD"}
@@ -9,7 +9,6 @@ export {
9
9
  type AndroidInstanceListParams,
10
10
  } from './android-instances';
11
11
  export {
12
- Assets,
13
12
  type Asset,
14
13
  type AssetListResponse,
15
14
  type AssetGetOrCreateResponse,
@@ -18,4 +17,4 @@ export {
18
17
  type AssetGetOrCreateParams,
19
18
  } from './assets';
20
19
 
21
- export * from './assets-helpers';
20
+ export { Assets, AssetGetOrUploadParams, AssetGetOrUploadResponse } from './assets-helpers';
package/src/version.ts CHANGED
@@ -1 +1 @@
1
- export const VERSION = '0.5.0'; // x-release-please-version
1
+ export const VERSION = '0.5.1'; // x-release-please-version
package/version.d.mts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.5.0";
1
+ export declare const VERSION = "0.5.1";
2
2
  //# sourceMappingURL=version.d.mts.map
package/version.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export declare const VERSION = "0.5.0";
1
+ export declare const VERSION = "0.5.1";
2
2
  //# sourceMappingURL=version.d.ts.map
package/version.js CHANGED
@@ -1,5 +1,5 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
3
  exports.VERSION = void 0;
4
- exports.VERSION = '0.5.0'; // x-release-please-version
4
+ exports.VERSION = '0.5.1'; // x-release-please-version
5
5
  //# sourceMappingURL=version.js.map
package/version.mjs CHANGED
@@ -1,2 +1,2 @@
1
- export const VERSION = '0.5.0'; // x-release-please-version
1
+ export const VERSION = '0.5.1'; // x-release-please-version
2
2
  //# sourceMappingURL=version.mjs.map