@onereach/idw-init-account-resources 0.14.6 → 0.14.7

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,5 +1,5 @@
1
1
   WARN  Issue while reading "/builds/onereach/platform/idw/idw-template/.npmrc". Failed to replace env in config: ${OR_NPM_TOKEN}
2
2
 
3
- > @onereach/idw-init-account-resources@0.14.5 build /builds/onereach/platform/idw/idw-template/packages/init/idw-init-account-resources
3
+ > @onereach/idw-init-account-resources@0.14.6 build /builds/onereach/platform/idw/idw-template/packages/init/idw-init-account-resources
4
4
  > rimraf dist && tsc -b && mkdir dist/assets/skills/documentation && cp -r src/assets/skills/documentation/* dist/assets/skills/documentation
5
5
 
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @onereach/idw-init-account-resources
2
2
 
3
+ ## 0.14.7
4
+
5
+ ### Patch Changes
6
+
7
+ - c320fb3: fix initial graph migration
8
+
3
9
  ## 0.14.6
4
10
 
5
11
  ### Patch Changes
@@ -45,7 +45,7 @@ module.exports = {
45
45
  switch (_a.label) {
46
46
  case 0:
47
47
  graphApi = new graph_1.Graphs({
48
- graphUrl: queryInterface.context.discoveryUrl.replace('discovery', 'graphs-api.svc'),
48
+ graphUrl: queryInterface.context.discoveryUrl.replace('discovery', 'graphs-api.svc').replace('FEATURE.', '').replace('feature.', ''),
49
49
  token: queryInterface.context._orToken,
50
50
  });
51
51
  return [4, graphApi.listGraphs()];
@@ -1 +1 @@
1
- {"version":3,"file":"20250103134909-create-idw-graph.js","sourceRoot":"","sources":["../../../src/assets/db_migrations/20250103134909-create-idw-graph.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEb,uCAAuC;AAGvC,MAAM,CAAC,OAAO,GAAG;IACT,EAAE,YAAC,cAA+G;;;;;;wBAChH,QAAQ,GAAG,IAAI,cAAM,CAAC;4BAC1B,QAAQ,EAAE,cAAc,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,WAAW,EAAE,gBAAgB,CAAC;4BACpF,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,QAAQ;yBACvC,CAAC,CAAC;wBACY,WAAM,QAAQ,CAAC,UAAU,EAAE,EAAA;;wBAApC,MAAM,GAAG,SAA2B;wBACpC,SAAS,GAAG,KAAK,CAAC;wBAClB,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,IAAI,KAAK,SAAS,EAApB,CAAoB,CAAC,CAAC;6BACxD,CAAC,MAAM,EAAP,cAAO;wBAAE,WAAM,QAAQ,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAA;;wBAA/C,SAA+C,CAAC;;;;;;KAO9D;IAEK,IAAI;;;;;;KAOT;CACF,CAAC"}
1
+ {"version":3,"file":"20250103134909-create-idw-graph.js","sourceRoot":"","sources":["../../../src/assets/db_migrations/20250103134909-create-idw-graph.ts"],"names":[],"mappings":"AAAA,YAAY,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAEb,uCAAuC;AAGvC,MAAM,CAAC,OAAO,GAAG;IACT,EAAE,YAAC,cAA+G;;;;;;wBAChH,QAAQ,GAAG,IAAI,cAAM,CAAC;4BAC1B,QAAQ,EAAE,cAAc,CAAC,OAAO,CAAC,YAAY,CAAC,OAAO,CAAC,WAAW,EAAE,gBAAgB,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,UAAU,EAAE,EAAE,CAAC;4BACpI,KAAK,EAAE,cAAc,CAAC,OAAO,CAAC,QAAQ;yBACvC,CAAC,CAAC;wBACY,WAAM,QAAQ,CAAC,UAAU,EAAE,EAAA;;wBAApC,MAAM,GAAG,SAA2B;wBACpC,SAAS,GAAG,KAAK,CAAC;wBAClB,MAAM,GAAG,MAAM,CAAC,KAAK,CAAC,IAAI,CAAC,UAAA,CAAC,IAAI,OAAA,CAAC,CAAC,IAAI,KAAK,SAAS,EAApB,CAAoB,CAAC,CAAC;6BACxD,CAAC,MAAM,EAAP,cAAO;wBAAE,WAAM,QAAQ,CAAC,WAAW,CAAC,EAAE,IAAI,EAAE,SAAS,EAAE,CAAC,EAAA;;wBAA/C,SAA+C,CAAC;;;;;;KAO9D;IAEK,IAAI;;;;;;KAOT;CACF,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@onereach/idw-init-account-resources",
3
- "version": "0.14.6",
3
+ "version": "0.14.7",
4
4
  "description": "Creation of required resources in OneReach account to enable IDW",
5
5
  "license": "UNLICENSED",
6
6
  "contributors": [
@@ -6,7 +6,7 @@ import { Graphs } from '@or-sdk/graph';
6
6
  module.exports = {
7
7
  async up(queryInterface: QueryInterface & { context: { sequelize: Sequelize; _orToken: string; discoveryUrl: string;}; }) {
8
8
  const graphApi = new Graphs({
9
- graphUrl: queryInterface.context.discoveryUrl.replace('discovery', 'graphs-api.svc'),
9
+ graphUrl: queryInterface.context.discoveryUrl.replace('discovery', 'graphs-api.svc').replace('FEATURE.', '').replace('feature.', ''),
10
10
  token: queryInterface.context._orToken,
11
11
  });
12
12
  const graphs = await graphApi.listGraphs();