@pierre/storage 0.9.2 → 0.9.3
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 +2 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +2 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +1 -1
package/dist/index.js
CHANGED
|
@@ -500,7 +500,7 @@ function concatChunks(a, b) {
|
|
|
500
500
|
|
|
501
501
|
// package.json
|
|
502
502
|
var package_default = {
|
|
503
|
-
version: "0.9.
|
|
503
|
+
version: "0.9.3"};
|
|
504
504
|
|
|
505
505
|
// src/version.ts
|
|
506
506
|
var PACKAGE_NAME = "code-storage-sdk";
|
|
@@ -2273,7 +2273,7 @@ var GitStorage = class _GitStorage {
|
|
|
2273
2273
|
let resolvedDefaultBranch;
|
|
2274
2274
|
if (baseRepo) {
|
|
2275
2275
|
if ("id" in baseRepo) {
|
|
2276
|
-
const baseRepoToken = await this.generateJWT(
|
|
2276
|
+
const baseRepoToken = await this.generateJWT(baseRepo.id, {
|
|
2277
2277
|
permissions: ["git:read"],
|
|
2278
2278
|
ttl
|
|
2279
2279
|
});
|