npm package diff

Package: @forge/migrations

Versions: 1.0.0-next.1 - 0.7.0-experimental-30ae54f

Modified:package/out/migration/errors.js

Index: package/out/migration/errors.js
===================================================================
--- package/out/migration/errors.js
+++ package/out/migration/errors.js
@@ -1,15 +1,13 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
 exports.APIError = void 0;
 class APIError extends Error {
-    status;
-    constructor(message, status) {
+    constructor(message) {
         super(message);
-        this.status = status;
     }
     static forStatus(status, message) {
-        return new APIError(message, status);
+        return new APIError(message);
     }
     static forUnexpected(message) {
         return new APIError(message);
     }

Modified:package/out/index.js

Index: package/out/index.js
===================================================================
--- package/out/index.js
+++ package/out/index.js
@@ -1,6 +1,5 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.MigrationAPIError = exports.migration = void 0;
+exports.migration = void 0;
 const migration_1 = require("./migration");
 Object.defineProperty(exports, "migration", { enumerable: true, get: function () { return migration_1.migration; } });
-Object.defineProperty(exports, "MigrationAPIError", { enumerable: true, get: function () { return migration_1.MigrationAPIError; } });

Modified:package/out/migration/index.js

Index: package/out/migration/index.js
===================================================================
--- package/out/migration/index.js
+++ package/out/migration/index.js
@@ -1,7 +1,7 @@
 "use strict";
 Object.defineProperty(exports, "__esModule", { value: true });
-exports.MigrationAPIError = exports.migration = exports.getMigrationInstance = void 0;
+exports.migration = exports.getMigrationInstance = void 0;
 const migration_1 = require("./migration");
 const query_api_1 = require("./query-api");
 const getMigrationInstance = (adapter) => {
     return {
@@ -23,6 +23,4 @@
     getAppDataPayload: (s3Key) => (0, exports.getMigrationInstance)(new migration_1.Migration()).getAppDataPayload(s3Key),
     getMappings: (transferId, namespace) => (0, exports.getMigrationInstance)(new migration_1.Migration()).getMappings(transferId, namespace),
     getContainers: (transferId, containerType) => (0, exports.getMigrationInstance)(new migration_1.Migration()).getContainers(transferId, containerType)
 };
-var errors_1 = require("./errors");
-Object.defineProperty(exports, "MigrationAPIError", { enumerable: true, get: function () { return errors_1.APIError; } });

Modified:package/package.json

Index: package/package.json
===================================================================
--- package/package.json
+++ package/package.json
@@ -1,7 +1,7 @@
 {
   "name": "@forge/migrations",
-  "version": "1.0.0-next.1",
+  "version": "0.7.0-experimental-30ae54f",
   "description": "App migration methods for Forge app",
   "main": "out/index.js",
   "scripts": {
     "build": "yarn run clean && yarn run compile",
@@ -17,7 +17,7 @@
     "jest-when": "^3.6.0",
     "node-fetch": "2.7.0"
   },
   "dependencies": {
-    "@forge/api": "3.9.1"
+    "@forge/api": "3.9.1-experimental-30ae54f"
   }
 }
\ No newline at end of file

Modified:package/out/migration/errors.d.ts.map

Index: package/out/migration/errors.d.ts.map
===================================================================
--- package/out/migration/errors.d.ts.map
+++ package/out/migration/errors.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/migration/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,QAAS,SAAQ,KAAK;IACjC,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAE3B,OAAO;WAKO,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ;WAIpD,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,QAAQ;CAGvD"}
\ No newline at end of file
+{"version":3,"file":"errors.d.ts","sourceRoot":"","sources":["../../src/migration/errors.ts"],"names":[],"mappings":"AAAA,qBAAa,QAAS,SAAQ,KAAK;IACjC,OAAO;WAIO,SAAS,CAAC,MAAM,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,QAAQ;WAIpD,aAAa,CAAC,OAAO,EAAE,MAAM,GAAG,QAAQ;CAGvD"}
\ No newline at end of file

Modified:package/out/index.d.ts.map

Index: package/out/index.d.ts.map
===================================================================
--- package/out/index.d.ts.map
+++ package/out/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAC;AAE3D,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,CAAC"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AAExC,OAAO,EAAE,SAAS,EAAE,CAAC"}
\ No newline at end of file

Modified:package/out/migration/index.d.ts.map

Index: package/out/migration/index.d.ts.map
===================================================================
--- package/out/migration/index.d.ts.map
+++ package/out/migration/index.d.ts.map
@@ -1,1 +1,1 @@
-{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migration/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,oBAAoB,YAAa,SAAS;iCAEtB,MAAM,aAAa,MAAM,QAAQ,MAAM,MAAM,CAAC;mCAE5C,MAAM,aAAa,MAAM;yBACnC,MAAM,cAAc,MAAM;iCAClB,MAAM;+BACR,MAAM;8BACP,MAAM,aAAa,MAAM;gCAEvB,MAAM,iBAAiB,aAAa;CAGnE,CAAC;AAEF,eAAO,MAAM,SAAS;iCACS,MAAM,aAAa,MAAM,QAAQ,MAAM,MAAM,CAAC;mCAE5C,MAAM,aAAa,MAAM;yBAEnC,MAAM,cAAc,MAAM;iCAElB,MAAM;+BACR,MAAM;8BACP,MAAM,aAAa,MAAM;gCAEvB,MAAM,iBAAiB,aAAa;CAEjE,CAAC;AAEF,OAAO,EAAE,QAAQ,IAAI,iBAAiB,EAAE,MAAM,UAAU,CAAC"}
\ No newline at end of file
+{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/migration/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,MAAM,aAAa,CAAC;AACxC,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAC;AACpD,OAAO,EAAE,mBAAmB,EAAE,MAAM,aAAa,CAAC;AAElD,eAAO,MAAM,oBAAoB,YAAa,SAAS;iCAEtB,MAAM,aAAa,MAAM,QAAQ,MAAM,MAAM,CAAC;mCAE5C,MAAM,aAAa,MAAM;yBACnC,MAAM,cAAc,MAAM;iCAClB,MAAM;+BACR,MAAM;8BACP,MAAM,aAAa,MAAM;gCAEvB,MAAM,iBAAiB,aAAa;CAGnE,CAAC;AAEF,eAAO,MAAM,SAAS;iCACS,MAAM,aAAa,MAAM,QAAQ,MAAM,MAAM,CAAC;mCAE5C,MAAM,aAAa,MAAM;yBAEnC,MAAM,cAAc,MAAM;iCAElB,MAAM;+BACR,MAAM;8BACP,MAAM,aAAa,MAAM;gCAEvB,MAAM,iBAAiB,aAAa;CAEjE,CAAC"}
\ No newline at end of file

Modified:package/CHANGELOG.md

Index: package/CHANGELOG.md
===================================================================
--- package/CHANGELOG.md
+++ package/CHANGELOG.md
@@ -1,22 +1,13 @@
 # @forge/migrations
 
-## 1.0.0-next.1
+## 0.7.0-experimental-30ae54f
 
 ### Patch Changes
 
-- 56c148c: Add MigrationAPIError class to main file
+- Updated dependencies [30ae54f]
+  - @forge/[email protected]
 
-## 1.0.0-next.0
-
-### Major Changes
-
-- 48774b3: Making Forge App Migrations generally available
-
-### Patch Changes
-
-- d2676d6: Add migration api error class
-
 ## 0.7.0
 
 ### Minor Changes

Modified:package/out/migration/errors.d.ts

Index: package/out/migration/errors.d.ts
===================================================================
--- package/out/migration/errors.d.ts
+++ package/out/migration/errors.d.ts
@@ -1,6 +1,5 @@
 export declare class APIError extends Error {
-    status: number | undefined;
     private constructor();
     static forStatus(status: number, message: string): APIError;
     static forUnexpected(message: string): APIError;
 }

Modified:package/out/index.d.ts

Index: package/out/index.d.ts
===================================================================
--- package/out/index.d.ts
+++ package/out/index.d.ts
@@ -1,3 +1,3 @@
-import { migration, MigrationAPIError } from './migration';
-export { migration, MigrationAPIError };
+import { migration } from './migration';
+export { migration };
 //# sourceMappingURL=index.d.ts.map
\ No newline at end of file

Modified:package/out/migration/index.d.ts

Index: package/out/migration/index.d.ts
===================================================================
--- package/out/migration/index.d.ts
+++ package/out/migration/index.d.ts
@@ -18,6 +18,5 @@
     getAppDataPayload: (s3Key: string) => Promise<import("@forge/api").APIResponse>;
     getMappings: (transferId: string, namespace: string) => DefaultQueryBuilder;
     getContainers: (transferId: string, containerType: ContainerType) => DefaultQueryBuilder;
 };
-export { APIError as MigrationAPIError } from './errors';
 //# sourceMappingURL=index.d.ts.map
\ No newline at end of file