@pierre/storage 0.9.1 → 0.9.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/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.cjs
CHANGED
|
@@ -506,7 +506,7 @@ function concatChunks(a, b) {
|
|
|
506
506
|
|
|
507
507
|
// package.json
|
|
508
508
|
var package_default = {
|
|
509
|
-
version: "0.9.
|
|
509
|
+
version: "0.9.2"};
|
|
510
510
|
|
|
511
511
|
// src/version.ts
|
|
512
512
|
var PACKAGE_NAME = "code-storage-sdk";
|
|
@@ -2279,7 +2279,7 @@ var GitStorage = class _GitStorage {
|
|
|
2279
2279
|
let resolvedDefaultBranch;
|
|
2280
2280
|
if (baseRepo) {
|
|
2281
2281
|
if ("id" in baseRepo) {
|
|
2282
|
-
const baseRepoToken = await this.generateJWT(baseRepo.id
|
|
2282
|
+
const baseRepoToken = await this.generateJWT(`${this.options.name}/${baseRepo.id}`, {
|
|
2283
2283
|
permissions: ["git:read"],
|
|
2284
2284
|
ttl
|
|
2285
2285
|
});
|