@shopify/cli-kit 3.0.5 → 3.0.6
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 +7 -0
- package/dist/{index-cc1e1cdd.js → index-0bc409dd.js} +31 -11
- package/dist/index-0bc409dd.js.map +1 -0
- package/dist/index.d.ts +12 -1
- package/dist/index.js +1 -1
- package/dist/{multipart-parser-afb071c7.js → multipart-parser-289c7bc4.js} +2 -2
- package/dist/{multipart-parser-afb071c7.js.map → multipart-parser-289c7bc4.js.map} +1 -1
- package/package.json +1 -1
- package/dist/index-cc1e1cdd.js.map +0 -1
package/CHANGELOG.md
CHANGED
|
@@ -12317,7 +12317,7 @@ var path$w = /*#__PURE__*/Object.freeze({
|
|
|
12317
12317
|
});
|
|
12318
12318
|
|
|
12319
12319
|
var name = "@shopify/cli-kit";
|
|
12320
|
-
var version$4 = "3.0.
|
|
12320
|
+
var version$4 = "3.0.6";
|
|
12321
12321
|
var description$1 = "A set of utilities, interfaces, and models that are common across all the platform features";
|
|
12322
12322
|
var keywords = [
|
|
12323
12323
|
"shopify",
|
|
@@ -12433,11 +12433,11 @@ var cliKitPackageJson = {
|
|
|
12433
12433
|
devDependencies: devDependencies
|
|
12434
12434
|
};
|
|
12435
12435
|
|
|
12436
|
-
var version$3 = "3.0.
|
|
12436
|
+
var version$3 = "3.0.6";
|
|
12437
12437
|
|
|
12438
|
-
var version$2 = "3.0.
|
|
12438
|
+
var version$2 = "3.0.6";
|
|
12439
12439
|
|
|
12440
|
-
var version$1 = "3.0.
|
|
12440
|
+
var version$1 = "3.0.6";
|
|
12441
12441
|
|
|
12442
12442
|
const homedir$1 = os$8.homedir();
|
|
12443
12443
|
const tmpdir$1 = os$8.tmpdir();
|
|
@@ -21478,26 +21478,35 @@ var output = /*#__PURE__*/Object.freeze({
|
|
|
21478
21478
|
|
|
21479
21479
|
sourceMapSupport.install();
|
|
21480
21480
|
class Fatal extends Error {
|
|
21481
|
-
constructor(message, tryMessage = null) {
|
|
21481
|
+
constructor(message, type, tryMessage = null) {
|
|
21482
21482
|
super(message);
|
|
21483
21483
|
this.tryMessage = tryMessage;
|
|
21484
|
+
this.type = type;
|
|
21484
21485
|
}
|
|
21485
21486
|
}
|
|
21486
21487
|
class Abort extends Fatal {
|
|
21488
|
+
constructor(message, tryMessage = null) {
|
|
21489
|
+
super(message, 0 /* Abort */, tryMessage);
|
|
21490
|
+
}
|
|
21487
21491
|
}
|
|
21488
21492
|
class AbortSilent extends Fatal {
|
|
21489
21493
|
constructor() {
|
|
21490
|
-
super("");
|
|
21494
|
+
super("", 1 /* AbortSilent */);
|
|
21491
21495
|
}
|
|
21492
21496
|
}
|
|
21493
21497
|
class Bug extends Fatal {
|
|
21498
|
+
constructor(message, tryMessage = null) {
|
|
21499
|
+
super(message, 2 /* Bug */, tryMessage);
|
|
21500
|
+
}
|
|
21494
21501
|
}
|
|
21495
21502
|
async function handler(error) {
|
|
21496
21503
|
let fatal;
|
|
21497
|
-
if (error
|
|
21504
|
+
if (Object.prototype.hasOwnProperty.call(error, "type")) {
|
|
21498
21505
|
fatal = error;
|
|
21499
21506
|
} else {
|
|
21500
21507
|
fatal = new Bug(error.message);
|
|
21508
|
+
}
|
|
21509
|
+
if (fatal.type === 2 /* Bug */) {
|
|
21501
21510
|
fatal.stack = error.stack;
|
|
21502
21511
|
}
|
|
21503
21512
|
await error$k(fatal);
|
|
@@ -40730,7 +40739,7 @@ class Body$1 {
|
|
|
40730
40739
|
return formData;
|
|
40731
40740
|
}
|
|
40732
40741
|
|
|
40733
|
-
const {toFormData} = await import('./multipart-parser-
|
|
40742
|
+
const {toFormData} = await import('./multipart-parser-289c7bc4.js');
|
|
40734
40743
|
return toFormData(this.body, ct);
|
|
40735
40744
|
}
|
|
40736
40745
|
|
|
@@ -172350,6 +172359,7 @@ const FindOrganizationQuery = dist$1.gql`
|
|
|
172350
172359
|
id
|
|
172351
172360
|
businessName
|
|
172352
172361
|
website
|
|
172362
|
+
appsNext
|
|
172353
172363
|
apps(first: 100) {
|
|
172354
172364
|
nodes {
|
|
172355
172365
|
id
|
|
@@ -172373,18 +172383,28 @@ const AllOrganizationsQuery = dist$1.gql`
|
|
|
172373
172383
|
id
|
|
172374
172384
|
businessName
|
|
172375
172385
|
website
|
|
172386
|
+
appsNext
|
|
172376
172387
|
}
|
|
172377
172388
|
}
|
|
172378
172389
|
}
|
|
172379
172390
|
`;
|
|
172380
172391
|
|
|
172381
172392
|
const CreateAppQuery = dist$1.gql`
|
|
172382
|
-
mutation AppCreate($org: Int!, $title: String!, $appUrl: Url!, $redir: [Url]
|
|
172383
|
-
appCreate(
|
|
172393
|
+
mutation AppCreate($org: Int!, $title: String!, $appUrl: Url!, $redir: [Url]!, $type: AppType) {
|
|
172394
|
+
appCreate(
|
|
172395
|
+
input: {
|
|
172396
|
+
organizationID: $org
|
|
172397
|
+
title: $title
|
|
172398
|
+
applicationUrl: $appUrl
|
|
172399
|
+
redirectUrlWhitelist: $redir
|
|
172400
|
+
appType: $type
|
|
172401
|
+
}
|
|
172402
|
+
) {
|
|
172384
172403
|
app {
|
|
172385
172404
|
id
|
|
172386
172405
|
apiKey
|
|
172387
172406
|
title
|
|
172407
|
+
appType
|
|
172388
172408
|
applicationUrl
|
|
172389
172409
|
redirectUrlWhitelist
|
|
172390
172410
|
apiSecretKeys {
|
|
@@ -173440,4 +173460,4 @@ var plugins = /*#__PURE__*/Object.freeze({
|
|
|
173440
173460
|
});
|
|
173441
173461
|
|
|
173442
173462
|
export { npm as A, port as B, cli as C, id as D, temporary as E, FormData$3 as F, dotEnv as G, abort as H, constants$2 as I, plugins as J, File$1 as a, string as b, github as c, dependency as d, error$j as e, file$1 as f, git as g, os$2 as h, environment as i, session as j, schema$2 as k, toml as l, store as m, api as n, output as o, path$w as p, http$2 as q, archiver as r, system as s, template as t, ui as u, version as v, checksum as w, ruby as x, yaml as y, semver as z };
|
|
173443
|
-
//# sourceMappingURL=index-
|
|
173463
|
+
//# sourceMappingURL=index-0bc409dd.js.map
|