@plasmicpkgs/plasmic-cms 0.0.77 → 0.0.80

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.
@@ -269,11 +269,9 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
269
269
 
270
270
 
271
271
  var IteratorPrototype = {};
272
-
273
- IteratorPrototype[iteratorSymbol] = function () {
272
+ define(IteratorPrototype, iteratorSymbol, function () {
274
273
  return this;
275
- };
276
-
274
+ });
277
275
  var getProto = Object.getPrototypeOf;
278
276
  var NativeIteratorPrototype = getProto && getProto(getProto(values([])));
279
277
 
@@ -284,8 +282,9 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
284
282
  }
285
283
 
286
284
  var Gp = GeneratorFunctionPrototype.prototype = Generator.prototype = Object.create(IteratorPrototype);
287
- GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;
288
- GeneratorFunctionPrototype.constructor = GeneratorFunction;
285
+ GeneratorFunction.prototype = GeneratorFunctionPrototype;
286
+ define(Gp, "constructor", GeneratorFunctionPrototype);
287
+ define(GeneratorFunctionPrototype, "constructor", GeneratorFunction);
289
288
  GeneratorFunction.displayName = define(GeneratorFunctionPrototype, toStringTagSymbol, "GeneratorFunction"); // Helper for defining the .next, .throw, and .return methods of the
290
289
  // Iterator interface in terms of a single ._invoke method.
291
290
 
@@ -390,11 +389,9 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
390
389
  }
391
390
 
392
391
  defineIteratorMethods(AsyncIterator.prototype);
393
-
394
- AsyncIterator.prototype[asyncIteratorSymbol] = function () {
392
+ define(AsyncIterator.prototype, asyncIteratorSymbol, function () {
395
393
  return this;
396
- };
397
-
394
+ });
398
395
  exports.AsyncIterator = AsyncIterator; // Note that simple async functions are implemented on top of
399
396
  // AsyncIterator objects; they just return a Promise for the value of
400
397
  // the final result produced by the iterator.
@@ -571,13 +568,12 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
571
568
  // object to not be returned from this call. This ensures that doesn't happen.
572
569
  // See https://github.com/facebook/regenerator/issues/274 for more details.
573
570
 
574
- Gp[iteratorSymbol] = function () {
571
+ define(Gp, iteratorSymbol, function () {
575
572
  return this;
576
- };
577
-
578
- Gp.toString = function () {
573
+ });
574
+ define(Gp, "toString", function () {
579
575
  return "[object Generator]";
580
- };
576
+ });
581
577
 
582
578
  function pushTryEntry(locs) {
583
579
  var entry = {
@@ -889,14 +885,19 @@ var runtime_1 = /*#__PURE__*/createCommonjsModule(function (module) {
889
885
  } catch (accidentalStrictMode) {
890
886
  // This module should not be running in strict mode, so the above
891
887
  // assignment should always work unless something is misconfigured. Just
892
- // in case runtime.js accidentally runs in strict mode, we can escape
888
+ // in case runtime.js accidentally runs in strict mode, in modern engines
889
+ // we can explicitly access globalThis. In older engines we can escape
893
890
  // strict mode using a global Function call. This could conceivably fail
894
891
  // if a Content Security Policy forbids using Function, but in that case
895
892
  // the proper solution is to fix the accidental strict mode problem. If
896
893
  // you've misconfigured your bundler to force strict mode and applied a
897
894
  // CSP to forbid Function, and you're not willing to fix either of those
898
895
  // problems, please detail your unique predicament in a GitHub issue.
899
- Function("r", "regeneratorRuntime = r")(runtime);
896
+ if (typeof globalThis === "object") {
897
+ globalThis.regeneratorRuntime = runtime;
898
+ } else {
899
+ Function("r", "regeneratorRuntime = r")(runtime);
900
+ }
900
901
  }
901
902
  });
902
903
 
@@ -1288,7 +1289,7 @@ var defaultHost = "https://studio.plasmic.app";
1288
1289
  var cmsCredentialsProviderMeta = {
1289
1290
  name: componentPrefix + "-credentials-provider",
1290
1291
  displayName: "CMS Credentials Provider",
1291
- description: "Find your CMS in the [dashboard](https://studio.plasmic.app), and go to the Settings tab for the ID and token.",
1292
+ description: "\nFind your CMS in the [dashboard](https://studio.plasmic.app), and go to the Settings tab for the ID and token.\n\nSee also the [getting started video](https://www.youtube.com/watch?v=-Rrn92VtRBc).",
1292
1293
  importName: "CmsCredentialsProvider",
1293
1294
  importPath: modulePath,
1294
1295
  props: {