@friggframework/devtools 1.0.1-v1-alpha-package-update.0 → 1.0.1-v1-alpha-package-update.1

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.
@@ -1,6 +1,4 @@
1
- const { Delegate } = require('../../core/core');
2
- const { Integration } = require('../../core/integrations');
3
- const { get } = require('../../core/assertions');
1
+ const { Delegate, Integration, get } = require('@friggframework/core');
4
2
 
5
3
  class Migrator extends Delegate {
6
4
  constructor(params) {
@@ -1,5 +1,4 @@
1
- const IntegrationManager = require('../../core/integrations');
2
- const { get, getAndVerifyType } = require('../../core/assertions');
1
+ const { IntegrationManager, get, getAndVerifyType } = require('@friggframework/core');
3
2
 
4
3
  class Options {
5
4
  constructor(params) {
package/package.json CHANGED
@@ -1,9 +1,10 @@
1
1
  {
2
2
  "name": "@friggframework/devtools",
3
3
  "prettier": "@friggframework/prettier-config",
4
- "version": "1.0.1-v1-alpha-package-update.0",
4
+ "version": "1.0.1-v1-alpha-package-update.1",
5
5
  "dependencies": {
6
6
  "@babel/eslint-parser": "^7.18.9",
7
+ "@friggframework/core": "1.0.1-v1-alpha-package-update.1",
7
8
  "eslint": "^8.22.0",
8
9
  "eslint-config-prettier": "^8.5.0",
9
10
  "eslint-plugin-json": "^3.1.0",
@@ -36,5 +37,5 @@
36
37
  "publishConfig": {
37
38
  "access": "public"
38
39
  },
39
- "gitHead": "2f565b1c08c09828c97f07c351a40ae6e4480186"
40
+ "gitHead": "9a24f4fcdcb147e9ad2eef15756b142cc6bca463"
40
41
  }
@@ -1,4 +1,4 @@
1
- const {flushDebugLog} = require('../../core/logs');
1
+ const {flushDebugLog} = require('@friggframework/core');
2
2
 
3
3
  async function testDefinitionRequiredAuthMethods(api, definition, authCallbackParams, tokenResponse, userId) {
4
4
 
@@ -1,5 +1,9 @@
1
- const {Auther, ModuleConstants} = require('../../core/module-plugin');
2
- const { createObjectId, connectToDatabase, disconnectFromDatabase } = require('../../core/database/mongo');
1
+ const {Auther,
2
+ ModuleConstants,
3
+ createObjectId,
4
+ connectToDatabase,
5
+ disconnectFromDatabase,
6
+ } = require('@friggframework/core');
3
7
  const { createMockApiObject } = require("./mock-integration");
4
8
 
5
9
 
@@ -1,6 +1,5 @@
1
- const { Auther, Credential, Entity } = require('../../core/module-plugin');
2
- const { IntegrationModel } = require('../../core/integrations');
3
- const { mongoose } = require('../../core/database/mongoose');
1
+ const { Auther, Credential, Entity, IntegrationModel, mongoose } = require('@friggframework/core');
2
+
4
3
 
5
4
  async function createMockIntegration(IntegrationClassDef, userId = null, config = {},) {
6
5
  const integration = new IntegrationClassDef();