@memberjunction/graphql-dataprovider 0.9.14 → 0.9.16
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.
- package/dist/config.js +3 -0
- package/dist/config.js.map +1 -1
- package/package.json +11 -6
package/dist/config.js
CHANGED
|
@@ -3,6 +3,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
3
3
|
exports.setupGraphQLClient = void 0;
|
|
4
4
|
const core_1 = require("@memberjunction/core");
|
|
5
5
|
const graphQLDataProvider_1 = require("./graphQLDataProvider");
|
|
6
|
+
const global_1 = require("@memberjunction/global");
|
|
6
7
|
async function setupGraphQLClient(config) {
|
|
7
8
|
// Set the provider for all entities to be GraphQL in this project, can use a different provider in other situations....
|
|
8
9
|
const provider = new graphQLDataProvider_1.GraphQLDataProvider();
|
|
@@ -12,6 +13,8 @@ async function setupGraphQLClient(config) {
|
|
|
12
13
|
core_1.RunView.Provider = provider;
|
|
13
14
|
core_1.RunReport.Provider = provider;
|
|
14
15
|
await provider.Config(config);
|
|
16
|
+
// fire off the logged in event if we get here
|
|
17
|
+
global_1.MJGlobal.Instance.RaiseEvent({ event: global_1.MJEventType.LoggedIn, eventCode: null, component: this, args: null });
|
|
15
18
|
return provider;
|
|
16
19
|
}
|
|
17
20
|
exports.setupGraphQLClient = setupGraphQLClient;
|
package/dist/config.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";;;AAAA,+CAAgF;AAChF,+DAAuF;
|
|
1
|
+
{"version":3,"file":"config.js","sourceRoot":"","sources":["../src/config.ts"],"names":[],"mappings":";;;AAAA,+CAAgF;AAChF,+DAAuF;AACvF,mDAA+D;AAExD,KAAK,UAAU,kBAAkB,CAAC,MAAiC;IACtE,wHAAwH;IACxH,MAAM,QAAQ,GAAG,IAAI,yCAAmB,EAAE,CAAA;IAE1C,oEAAoE;IACpE,iBAAU,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC9B,eAAQ,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC5B,cAAO,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAC3B,gBAAS,CAAC,QAAQ,GAAG,QAAQ,CAAA;IAE7B,MAAM,QAAQ,CAAC,MAAM,CAAC,MAAM,CAAC,CAAC;IAE9B,8CAA8C;IAC9C,iBAAQ,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE,KAAK,EAAE,oBAAW,CAAC,QAAQ,EAAE,SAAS,EAAE,IAAI,EAAE,SAAS,EAAE,IAAI,EAAE,IAAI,EAAE,IAAI,EAAE,CAAC,CAAA;IAE3G,OAAO,QAAQ,CAAA;AACnB,CAAC;AAhBD,gDAgBC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@memberjunction/graphql-dataprovider",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.16",
|
|
4
4
|
"description": "MemberJunction: GraphQL Client Data Provider",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -9,18 +9,23 @@
|
|
|
9
9
|
],
|
|
10
10
|
"scripts": {
|
|
11
11
|
"start": "ts-node-dev src/index.ts",
|
|
12
|
-
"
|
|
13
|
-
"
|
|
12
|
+
"test": "echo \"Error: no test specified\" && exit 1",
|
|
13
|
+
"build:node": "tsc --project tsconfig.node.json",
|
|
14
|
+
"build:browser": "tsc --project tsconfig.browser.json && webpack --config webpack.config.js",
|
|
15
|
+
"build": "npm run build:node && npm run build:browser"
|
|
14
16
|
},
|
|
15
17
|
"author": "MemberJunction.com",
|
|
16
18
|
"license": "ISC",
|
|
17
19
|
"devDependencies": {
|
|
20
|
+
"ts-loader": "^9.4.4",
|
|
18
21
|
"ts-node-dev": "^2.0.0",
|
|
19
|
-
"typescript": "^5.0.3"
|
|
22
|
+
"typescript": "^5.0.3",
|
|
23
|
+
"webpack": "^5.88.2",
|
|
24
|
+
"webpack-cli": "^5.1.4"
|
|
20
25
|
},
|
|
21
26
|
"dependencies": {
|
|
22
|
-
"@memberjunction/core": "^0.9.
|
|
23
|
-
"@memberjunction/global": "^0.9.
|
|
27
|
+
"@memberjunction/core": "^0.9.18",
|
|
28
|
+
"@memberjunction/global": "^0.9.14",
|
|
24
29
|
"graphql": "^16.6.0",
|
|
25
30
|
"graphql-request": "^5.2.0",
|
|
26
31
|
"graphql-ws": "^5.14.0",
|