@mindful-web/marko-web-omeda-identity-x 1.49.3 → 1.51.0

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.
@@ -2,7 +2,7 @@
2
2
  "use strict";
3
3
 
4
4
  var marko_template = module.exports = require("marko/dist/html").t(__filename),
5
- marko_componentType = "/@mindful-web/marko-web-omeda-identity-x$1.49.3/components/identify.marko",
5
+ marko_componentType = "/@mindful-web/marko-web-omeda-identity-x$1.51.0/components/identify.marko",
6
6
  marko_component = require("./identify.marko"),
7
7
  marko_renderer = require("marko/dist/runtime/components/renderer"),
8
8
  module_getCookieId = require("@mindful-web/marko-web-omeda-identity-x/utils/get-cookie-id"),
@@ -51,7 +51,7 @@ marko_template._ = marko_renderer(render, {
51
51
  }, marko_component);
52
52
 
53
53
  marko_template.meta = {
54
- id: "/@mindful-web/marko-web-omeda-identity-x$1.49.3/components/identify.marko",
54
+ id: "/@mindful-web/marko-web-omeda-identity-x$1.51.0/components/identify.marko",
55
55
  component: "./identify.marko",
56
56
  tags: [
57
57
  "@mindful-web/marko-web-identity-x/components/identify.marko",
@@ -31,5 +31,6 @@ module.exports = async ({ identityX, user, omedaCustomer }) => {
31
31
  return identityX.client.mutate({
32
32
  mutation: SET_OMEDA_DATA,
33
33
  variables: { input },
34
+ context: { apiToken: identityX.getOrgUserApiToken() },
34
35
  });
35
36
  };
@@ -105,7 +105,7 @@ module.exports = async ({
105
105
  await identityX.client.mutate({
106
106
  mutation: SET_OMEDA_SELECT_FIELD_ANSWERS,
107
107
  variables: { input: { id: user.id, answers } },
108
- context: { apiToken: identityX.config.getApiToken() },
108
+ context: { apiToken: identityX.getOrgUserApiToken() },
109
109
  });
110
110
  })();
111
111
 
@@ -118,7 +118,7 @@ module.exports = async ({
118
118
  await identityX.client.mutate({
119
119
  mutation: SET_OMEDA_BOOLEAN_FIELD_ANSWERS,
120
120
  variables: { input: { id: user.id, answers } },
121
- context: { apiToken: identityX.config.getApiToken() },
121
+ context: { apiToken: identityX.getOrgUserApiToken() },
122
122
  });
123
123
  })();
124
124
 
@@ -131,7 +131,7 @@ module.exports = async ({
131
131
  await identityX.client.mutate({
132
132
  mutation: SET_OMEDA_TEXT_FIELD_ANSWERS,
133
133
  variables: { input: { id: user.id, answers } },
134
- context: { apiToken: identityX.config.getApiToken() },
134
+ context: { apiToken: identityX.getOrgUserApiToken() },
135
135
  });
136
136
  })();
137
137
  };
@@ -46,6 +46,6 @@ module.exports = async ({
46
46
  await identityX.client.mutate({
47
47
  mutation: SET_OMEDA_BOOLEAN_FIELD_ANSWERS,
48
48
  variables: { input: { id: user.id, answers } },
49
- context: { apiToken: identityX.config.getApiToken() },
49
+ context: { apiToken: identityX.getOrgUserApiToken() },
50
50
  });
51
51
  };
@@ -45,6 +45,6 @@ module.exports = async ({
45
45
  await identityX.client.mutate({
46
46
  mutation: SET_OMEDA_BOOLEAN_FIELD_ANSWERS,
47
47
  variables: { input: { id: user.id, answers } },
48
- context: { apiToken: identityX.config.getApiToken() },
48
+ context: { apiToken: identityX.getOrgUserApiToken() },
49
49
  });
50
50
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindful-web/marko-web-omeda-identity-x",
3
- "version": "1.49.3",
3
+ "version": "1.51.0",
4
4
  "description": "Marko Omeda+IdentityX integration tools",
5
5
  "repository": "https://github.com/parameter1/mindful-web/tree/main/packages/marko-web-omeda-identity-x",
6
6
  "author": "Josh Worden <josh@parameter1.com>",
@@ -13,7 +13,7 @@
13
13
  "test": "yarn compile --no-clean && yarn lint"
14
14
  },
15
15
  "dependencies": {
16
- "@mindful-web/marko-web-identity-x": "^1.49.3",
16
+ "@mindful-web/marko-web-identity-x": "^1.51.0",
17
17
  "@mindful-web/marko-web-omeda": "^1.41.0",
18
18
  "@mindful-web/object-path": "^1.11.9",
19
19
  "@mindful-web/utils": "^1.11.9",
@@ -29,5 +29,5 @@
29
29
  "publishConfig": {
30
30
  "access": "public"
31
31
  },
32
- "gitHead": "f52848de5e515a5744539387771f5726487ec386"
32
+ "gitHead": "d1bcf801429e0c82ea3138c42d6a2536e46df703"
33
33
  }