@hu-fi/subgraph-sdk 1.0.0-beta.1 → 1.0.0-beta.2

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/index.d.ts CHANGED
@@ -1,6 +1,11 @@
1
- export * from './campaigns';
2
- export * from './stats';
1
+ import * as campaigns from './campaigns';
2
+ import * as stats from './stats';
3
3
  export { HufiSdkError } from './common/errors';
4
4
  export { GraphqlClientError } from './common/custom-gql-client';
5
5
  export { OrderDirection } from './common/types';
6
+ declare const _default: {
7
+ campaigns: typeof campaigns;
8
+ stats: typeof stats;
9
+ };
10
+ export default _default;
6
11
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,SAAS,CAAC;AAExB,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,SAAS,MAAM,aAAa,CAAC;AACzC,OAAO,KAAK,KAAK,MAAM,SAAS,CAAC;AAEjC,OAAO,EAAE,YAAY,EAAE,MAAM,iBAAiB,CAAC;AAC/C,OAAO,EAAE,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAEhE,OAAO,EAAE,cAAc,EAAE,MAAM,gBAAgB,CAAC;;;;;AAEhD,wBAGE"}
package/dist/index.js CHANGED
@@ -10,17 +10,40 @@ var __createBinding = (this && this.__createBinding) || (Object.create ? (functi
10
10
  if (k2 === undefined) k2 = k;
11
11
  o[k2] = m[k];
12
12
  }));
13
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
- };
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
16
35
  Object.defineProperty(exports, "__esModule", { value: true });
17
36
  exports.OrderDirection = exports.GraphqlClientError = exports.HufiSdkError = void 0;
18
- __exportStar(require("./campaigns"), exports);
19
- __exportStar(require("./stats"), exports);
37
+ const campaigns = __importStar(require("./campaigns"));
38
+ const stats = __importStar(require("./stats"));
20
39
  var errors_1 = require("./common/errors");
21
40
  Object.defineProperty(exports, "HufiSdkError", { enumerable: true, get: function () { return errors_1.HufiSdkError; } });
22
41
  var custom_gql_client_1 = require("./common/custom-gql-client");
23
42
  Object.defineProperty(exports, "GraphqlClientError", { enumerable: true, get: function () { return custom_gql_client_1.GraphqlClientError; } });
24
43
  var types_1 = require("./common/types");
25
44
  Object.defineProperty(exports, "OrderDirection", { enumerable: true, get: function () { return types_1.OrderDirection; } });
45
+ exports.default = {
46
+ campaigns,
47
+ stats,
48
+ };
26
49
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,8CAA4B;AAC5B,0CAAwB;AAExB,0CAA+C;AAAtC,sGAAA,YAAY,OAAA;AACrB,gEAAgE;AAAvD,uHAAA,kBAAkB,OAAA;AAE3B,wCAAgD;AAAvC,uGAAA,cAAc,OAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,uDAAyC;AACzC,+CAAiC;AAEjC,0CAA+C;AAAtC,sGAAA,YAAY,OAAA;AACrB,gEAAgE;AAAvD,uHAAA,kBAAkB,OAAA;AAE3B,wCAAgD;AAAvC,uGAAA,cAAc,OAAA;AAEvB,kBAAe;IACb,SAAS;IACT,KAAK;CACN,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hu-fi/subgraph-sdk",
3
- "version": "1.0.0-beta.1",
3
+ "version": "1.0.0-beta.2",
4
4
  "type": "commonjs",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",