@limrun/api 0.31.1 → 0.31.2
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 +8 -0
- package/package.json +1 -1
- package/rbe-bep.d.mts +8 -5
- package/rbe-bep.d.mts.map +1 -1
- package/rbe-bep.d.ts +8 -5
- package/rbe-bep.d.ts.map +1 -1
- package/rbe-bep.js +11 -8
- package/rbe-bep.js.map +1 -1
- package/rbe-bep.mjs +11 -8
- package/rbe-bep.mjs.map +1 -1
- package/src/rbe-bep.ts +11 -8
- package/src/version.ts +1 -1
- package/version.d.mts +1 -1
- package/version.d.ts +1 -1
- package/version.js +1 -1
- package/version.mjs +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.31.2 (2026-06-09)
|
|
4
|
+
|
|
5
|
+
Full Changelog: [v0.31.1...v0.31.2](https://github.com/limrun-inc/typescript-sdk/compare/v0.31.1...v0.31.2)
|
|
6
|
+
|
|
7
|
+
### Chores
|
|
8
|
+
|
|
9
|
+
* bump cli version ([556bd22](https://github.com/limrun-inc/typescript-sdk/commit/556bd22ef59dd480015db5cc9c35f2d224d7741d))
|
|
10
|
+
|
|
3
11
|
## 0.31.1 (2026-06-09)
|
|
4
12
|
|
|
5
13
|
Full Changelog: [v0.31.0...v0.31.1](https://github.com/limrun-inc/typescript-sdk/compare/v0.31.0...v0.31.1)
|
package/package.json
CHANGED
package/rbe-bep.d.mts
CHANGED
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
* newline-delimited JSON) to find a built target's top-level `.ipa` and its
|
|
4
4
|
* content-addressed (CAS) digest.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
6
|
+
* A remotely-executed output carries a `bytestream://<host>[/<instance>]/blobs/
|
|
7
|
+
* <hash>/<size>` URI in its BEP `file` entry regardless of whether Bazel also
|
|
8
|
+
* downloads the bytes (`--remote_download_outputs`), because the URI names the
|
|
9
|
+
* output's CAS identity, not its local availability. `lim xcode rbe install`
|
|
10
|
+
* reads that digest and hands it to the instance, which fetches the blob from
|
|
11
|
+
* its own RBE cache and installs it — no round-trip. The printed build command
|
|
12
|
+
* passes `--remote_download_outputs=minimal` to skip the (unneeded) local
|
|
13
|
+
* download by default; dropping it does not affect this parser.
|
|
11
14
|
*/
|
|
12
15
|
export type BepIpaDigest = {
|
|
13
16
|
/** Lowercase hex SHA-256 of the .ipa blob. */
|
package/rbe-bep.d.mts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rbe-bep.d.mts","sourceRoot":"","sources":["src/rbe-bep.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"rbe-bep.d.mts","sourceRoot":"","sources":["src/rbe-bep.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,MAAM,MAAM,YAAY,GAAG;IACzB,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AA8CF;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,YAAY,CAmFnF"}
|
package/rbe-bep.d.ts
CHANGED
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
* newline-delimited JSON) to find a built target's top-level `.ipa` and its
|
|
4
4
|
* content-addressed (CAS) digest.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
6
|
+
* A remotely-executed output carries a `bytestream://<host>[/<instance>]/blobs/
|
|
7
|
+
* <hash>/<size>` URI in its BEP `file` entry regardless of whether Bazel also
|
|
8
|
+
* downloads the bytes (`--remote_download_outputs`), because the URI names the
|
|
9
|
+
* output's CAS identity, not its local availability. `lim xcode rbe install`
|
|
10
|
+
* reads that digest and hands it to the instance, which fetches the blob from
|
|
11
|
+
* its own RBE cache and installs it — no round-trip. The printed build command
|
|
12
|
+
* passes `--remote_download_outputs=minimal` to skip the (unneeded) local
|
|
13
|
+
* download by default; dropping it does not affect this parser.
|
|
11
14
|
*/
|
|
12
15
|
export type BepIpaDigest = {
|
|
13
16
|
/** Lowercase hex SHA-256 of the .ipa blob. */
|
package/rbe-bep.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rbe-bep.d.ts","sourceRoot":"","sources":["src/rbe-bep.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"rbe-bep.d.ts","sourceRoot":"","sources":["src/rbe-bep.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AAEH,MAAM,MAAM,YAAY,GAAG;IACzB,8CAA8C;IAC9C,IAAI,EAAE,MAAM,CAAC;IACb,sCAAsC;IACtC,SAAS,EAAE,MAAM,CAAC;IAClB,oEAAoE;IACpE,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC;AA8CF;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,OAAO,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,YAAY,CAmFnF"}
|
package/rbe-bep.js
CHANGED
|
@@ -4,11 +4,14 @@
|
|
|
4
4
|
* newline-delimited JSON) to find a built target's top-level `.ipa` and its
|
|
5
5
|
* content-addressed (CAS) digest.
|
|
6
6
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
7
|
+
* A remotely-executed output carries a `bytestream://<host>[/<instance>]/blobs/
|
|
8
|
+
* <hash>/<size>` URI in its BEP `file` entry regardless of whether Bazel also
|
|
9
|
+
* downloads the bytes (`--remote_download_outputs`), because the URI names the
|
|
10
|
+
* output's CAS identity, not its local availability. `lim xcode rbe install`
|
|
11
|
+
* reads that digest and hands it to the instance, which fetches the blob from
|
|
12
|
+
* its own RBE cache and installs it — no round-trip. The printed build command
|
|
13
|
+
* passes `--remote_download_outputs=minimal` to skip the (unneeded) local
|
|
14
|
+
* download by default; dropping it does not affect this parser.
|
|
12
15
|
*/
|
|
13
16
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
14
17
|
exports.parseTopLevelIpaDigest = parseTopLevelIpaDigest;
|
|
@@ -121,9 +124,9 @@ function parseTopLevelIpaDigest(bepJson, label) {
|
|
|
121
124
|
}
|
|
122
125
|
}
|
|
123
126
|
if (localOnlyIpa) {
|
|
124
|
-
throw new Error(`Found ${label}'s .ipa (${localOnlyIpa}) but it has no remote (bytestream) digest —
|
|
125
|
-
`
|
|
126
|
-
`in the instance cache
|
|
127
|
+
throw new Error(`Found ${label}'s .ipa (${localOnlyIpa}) but it has no remote (bytestream) digest — it was ` +
|
|
128
|
+
`built locally, not remotely executed. Ensure you built with --config=limrun so the .ipa is ` +
|
|
129
|
+
`produced in the instance's cache.`);
|
|
127
130
|
}
|
|
128
131
|
throw new Error(`No .ipa output found for ${label} in the build event log.`);
|
|
129
132
|
}
|
package/rbe-bep.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rbe-bep.js","sourceRoot":"","sources":["src/rbe-bep.ts"],"names":[],"mappings":";AAAA
|
|
1
|
+
{"version":3,"file":"rbe-bep.js","sourceRoot":"","sources":["src/rbe-bep.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;GAaG;;AA6DH,wDAmFC;AAtHD,2FAA2F;AAC3F,MAAM,UAAU,GAAG,gBAAgB,CAAC;AAEpC,6EAA6E;AAC7E,SAAS,qBAAqB,CAAC,GAAW;IACxC,4EAA4E;IAC5E,+EAA+E;IAC/E,kEAAkE;IAClE,MAAM,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,qCAAqC,CAAC,CA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F,KAAK,KAAK,CACzG,CAAC;gBACJ,CAAC;gBACD,OAAO,EAAE,IAAI,EAAE,MAAM,CAAC,IAAI,EAAE,SAAS,EAAE,MAAM,CAAC,SAAS,EAAE,OAAO,EAAE,CAAC,CAAC,IAAI,EAAE,CAAC;YAC7E,CAAC;YACD,YAAY,GAAG,CAAC,CAAC,IAAI,CAAC;QACxB,CAAC;QACD,KAAK,MAAM,MAAM,IAAI,GAAG,CAAC,QAAQ,IAAI,EAAE,EAAE,CAAC;YACxC,IAAI,MAAM,CAAC,EAAE;gBAAE,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QACvC,CAAC;IACH,CAAC;IAED,IAAI,YAAY,EAAE,CAAC;QACjB,MAAM,IAAI,KAAK,CACb,SAAS,KAAK,YAAY,YAAY,sDAAsD;YAC1F,6FAA6F;YAC7F,mCAAmC,CACtC,CAAC;IACJ,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,4BAA4B,KAAK,0BAA0B,CAAC,CAAC;AAC/E,CAAC"}
|
package/rbe-bep.mjs
CHANGED
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
* newline-delimited JSON) to find a built target's top-level `.ipa` and its
|
|
4
4
|
* content-addressed (CAS) digest.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
6
|
+
* A remotely-executed output carries a `bytestream://<host>[/<instance>]/blobs/
|
|
7
|
+
* <hash>/<size>` URI in its BEP `file` entry regardless of whether Bazel also
|
|
8
|
+
* downloads the bytes (`--remote_download_outputs`), because the URI names the
|
|
9
|
+
* output's CAS identity, not its local availability. `lim xcode rbe install`
|
|
10
|
+
* reads that digest and hands it to the instance, which fetches the blob from
|
|
11
|
+
* its own RBE cache and installs it — no round-trip. The printed build command
|
|
12
|
+
* passes `--remote_download_outputs=minimal` to skip the (unneeded) local
|
|
13
|
+
* download by default; dropping it does not affect this parser.
|
|
11
14
|
*/
|
|
12
15
|
/** A SHA-256 digest is exactly 64 lowercase hex chars; the instance CAS is keyed by it. */
|
|
13
16
|
const SHA256_HEX = /^[0-9a-f]{64}$/;
|
|
@@ -118,9 +121,9 @@ export function parseTopLevelIpaDigest(bepJson, label) {
|
|
|
118
121
|
}
|
|
119
122
|
}
|
|
120
123
|
if (localOnlyIpa) {
|
|
121
|
-
throw new Error(`Found ${label}'s .ipa (${localOnlyIpa}) but it has no remote (bytestream) digest —
|
|
122
|
-
`
|
|
123
|
-
`in the instance cache
|
|
124
|
+
throw new Error(`Found ${label}'s .ipa (${localOnlyIpa}) but it has no remote (bytestream) digest — it was ` +
|
|
125
|
+
`built locally, not remotely executed. Ensure you built with --config=limrun so the .ipa is ` +
|
|
126
|
+
`produced in the instance's cache.`);
|
|
124
127
|
}
|
|
125
128
|
throw new Error(`No .ipa output found for ${label} in the build event log.`);
|
|
126
129
|
}
|
package/rbe-bep.mjs.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"rbe-bep.mjs","sourceRoot":"","sources":["src/rbe-bep.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"rbe-bep.mjs","sourceRoot":"","sources":["src/rbe-bep.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;GAaG;AA0BH,2FAA2F;AAC3F,MAAM,UAAU,GAAG,gBAAgB,CAAC;AAEpC,6EAA6E;AAC7E,SAAS,qBAAqB,CAAC,GAAW;IACxC,4EAA4E;IAC5E,+EAA+E;IAC/E,kEAAkE;IAClE,MAAM,CAAC,GAAG,GAAG,CAAC,KAAK,CAAC,qCAAqC,CAAC,CAAC;IAC3D,IAAI,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,SAAS,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,SAAS;QAAE,OAAO,IAAI,CAAC;IAChE,OAAO,EAAE,IAAI,EAAE,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE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AAC,CAAC,IAAI,CAAC;QACxB,CAAC;QACD,KAAK,MAAM,MAAM,IAAI,GAAG,CAAC,QAAQ,IAAI,EAAE,EAAE,CAAC;YACxC,IAAI,MAAM,CAAC,EAAE;gBAAE,KAAK,CAAC,IAAI,CAAC,MAAM,CAAC,EAAE,CAAC,CAAC;QACvC,CAAC;IACH,CAAC;IAED,IAAI,YAAY,EAAE,CAAC;QACjB,MAAM,IAAI,KAAK,CACb,SAAS,KAAK,YAAY,YAAY,sDAAsD;YAC1F,6FAA6F;YAC7F,mCAAmC,CACtC,CAAC;IACJ,CAAC;IACD,MAAM,IAAI,KAAK,CAAC,4BAA4B,KAAK,0BAA0B,CAAC,CAAC;AAC/E,CAAC"}
|
package/src/rbe-bep.ts
CHANGED
|
@@ -3,11 +3,14 @@
|
|
|
3
3
|
* newline-delimited JSON) to find a built target's top-level `.ipa` and its
|
|
4
4
|
* content-addressed (CAS) digest.
|
|
5
5
|
*
|
|
6
|
-
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
6
|
+
* A remotely-executed output carries a `bytestream://<host>[/<instance>]/blobs/
|
|
7
|
+
* <hash>/<size>` URI in its BEP `file` entry regardless of whether Bazel also
|
|
8
|
+
* downloads the bytes (`--remote_download_outputs`), because the URI names the
|
|
9
|
+
* output's CAS identity, not its local availability. `lim xcode rbe install`
|
|
10
|
+
* reads that digest and hands it to the instance, which fetches the blob from
|
|
11
|
+
* its own RBE cache and installs it — no round-trip. The printed build command
|
|
12
|
+
* passes `--remote_download_outputs=minimal` to skip the (unneeded) local
|
|
13
|
+
* download by default; dropping it does not affect this parser.
|
|
11
14
|
*/
|
|
12
15
|
|
|
13
16
|
export type BepIpaDigest = {
|
|
@@ -146,9 +149,9 @@ export function parseTopLevelIpaDigest(bepJson: string, label: string): BepIpaDi
|
|
|
146
149
|
|
|
147
150
|
if (localOnlyIpa) {
|
|
148
151
|
throw new Error(
|
|
149
|
-
`Found ${label}'s .ipa (${localOnlyIpa}) but it has no remote (bytestream) digest —
|
|
150
|
-
`
|
|
151
|
-
`in the instance cache
|
|
152
|
+
`Found ${label}'s .ipa (${localOnlyIpa}) but it has no remote (bytestream) digest — it was ` +
|
|
153
|
+
`built locally, not remotely executed. Ensure you built with --config=limrun so the .ipa is ` +
|
|
154
|
+
`produced in the instance's cache.`,
|
|
152
155
|
);
|
|
153
156
|
}
|
|
154
157
|
throw new Error(`No .ipa output found for ${label} in the build event log.`);
|
package/src/version.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export const VERSION = '0.31.
|
|
1
|
+
export const VERSION = '0.31.2'; // x-release-please-version
|
package/version.d.mts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.31.
|
|
1
|
+
export declare const VERSION = "0.31.2";
|
|
2
2
|
//# sourceMappingURL=version.d.mts.map
|
package/version.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export declare const VERSION = "0.31.
|
|
1
|
+
export declare const VERSION = "0.31.2";
|
|
2
2
|
//# sourceMappingURL=version.d.ts.map
|
package/version.js
CHANGED
package/version.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export const VERSION = '0.31.
|
|
1
|
+
export const VERSION = '0.31.2'; // x-release-please-version
|
|
2
2
|
//# sourceMappingURL=version.mjs.map
|