@levrbet/shared 0.1.170 → 0.1.172

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,3 +2,4 @@ export * from "./game.request.types";
2
2
  export * from "./game.response.types";
3
3
  export * from "./market.request.types";
4
4
  export * from "./odds.response.types";
5
+ export * from "./user.request.type";
@@ -18,4 +18,5 @@ __exportStar(require("./game.request.types"), exports);
18
18
  __exportStar(require("./game.response.types"), exports);
19
19
  __exportStar(require("./market.request.types"), exports);
20
20
  __exportStar(require("./odds.response.types"), exports);
21
+ __exportStar(require("./user.request.type"), exports);
21
22
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/core/types/oracle/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,wDAAqC"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/core/types/oracle/requests/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,uDAAoC;AACpC,wDAAqC;AACrC,yDAAsC;AACtC,wDAAqC;AACrC,sDAAmC"}
@@ -0,0 +1,4 @@
1
+ import { User } from "../../../prisma";
2
+ export interface SaveUserProfile extends Omit<User, "objectId" | "createdAt" | "updatedAt"> {
3
+ imageData?: string;
4
+ }
@@ -0,0 +1,3 @@
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ //# sourceMappingURL=user.request.type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"user.request.type.js","sourceRoot":"","sources":["../../../../../src/core/types/oracle/requests/user.request.type.ts"],"names":[],"mappings":""}
@@ -2,4 +2,5 @@ export * from "../core";
2
2
  export * from "./hooks";
3
3
  export * from "./injectedDependencies";
4
4
  export * from "./queryClient";
5
+ export * from "./queryKeys";
5
6
  export * from "./types";
@@ -18,5 +18,6 @@ __exportStar(require("../core"), exports);
18
18
  __exportStar(require("./hooks"), exports);
19
19
  __exportStar(require("./injectedDependencies"), exports);
20
20
  __exportStar(require("./queryClient"), exports);
21
+ __exportStar(require("./queryKeys"), exports);
21
22
  __exportStar(require("./types"), exports);
22
23
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB;AACvB,yDAAsC;AACtC,gDAA6B;AAE7B,0CAAuB"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/react/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,0CAAuB;AACvB,0CAAuB;AACvB,yDAAsC;AACtC,gDAA6B;AAC7B,8CAA2B;AAC3B,0CAAuB"}
@@ -57,8 +57,9 @@ function injectDependencies(dependencies) {
57
57
  !dependencies.useIdentityToken ||
58
58
  !dependencies.useUser ||
59
59
  !dependencies.useQuery ||
60
+ !dependencies.useMutation ||
60
61
  !dependencies.levrEnv) {
61
- throw new Error("All dependencies must be provided: usePrivy, useIdentityToken, useUser, useQuery, and levrEnv");
62
+ throw new Error("All dependencies must be provided: usePrivy, useIdentityToken, useUser, useQuery, useMutation, and levrEnv");
62
63
  }
63
64
  injectedDependencies = dependencies;
64
65
  }
@@ -1 +1 @@
1
- {"version":3,"file":"injectedDependencies.js","sourceRoot":"","sources":["../../src/react/injectedDependencies.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;AA4CH,gDAoBC;AAaD,0CAWC;AAOD,8DAEC;AA9ED;;GAEG;AACH,IAAI,oBAAoB,GAAgC,IAAI,CAAA;AAE5D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,kBAAkB,CAAC,YAAkC;IACjE,IAAI,oBAAoB,KAAK,IAAI,EAAE,CAAC;QAChC,OAAO,CAAC,IAAI,CACR,oDAAoD;YAChD,iFAAiF,CACxF,CAAA;IACL,CAAC;IAED,uDAAuD;IACvD,IACI,CAAC,YAAY,CAAC,QAAQ;QACtB,CAAC,YAAY,CAAC,gBAAgB;QAC9B,CAAC,YAAY,CAAC,OAAO;QACrB,CAAC,YAAY,CAAC,QAAQ;QACtB,CAAC,YAAY,CAAC,OAAO,EACvB,CAAC;QACC,MAAM,IAAI,KAAK,CAAC,+FAA+F,CAAC,CAAA;IACpH,CAAC;IAED,oBAAoB,GAAG,YAAY,CAAA;AACvC,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,eAAe;IAC3B,IAAI,oBAAoB,KAAK,IAAI,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACX,uCAAuC;YACnC,6FAA6F;YAC7F,4CAA4C;YAC5C,iGAAiG,CACxG,CAAA;IACL,CAAC;IAED,OAAO,oBAAoB,CAAA;AAC/B,CAAC;AAED;;;;GAIG;AACH,SAAgB,yBAAyB;IACrC,oBAAoB,GAAG,IAAI,CAAA;AAC/B,CAAC"}
1
+ {"version":3,"file":"injectedDependencies.js","sourceRoot":"","sources":["../../src/react/injectedDependencies.ts"],"names":[],"mappings":";AAAA;;;;;;;;;;;;;;;;;;;GAmBG;;AA4CH,gDAuBC;AAaD,0CAWC;AAOD,8DAEC;AAjFD;;GAEG;AACH,IAAI,oBAAoB,GAAgC,IAAI,CAAA;AAE5D;;;;;;;;;;;;;;;;;;;GAmBG;AACH,SAAgB,kBAAkB,CAAC,YAAkC;IACjE,IAAI,oBAAoB,KAAK,IAAI,EAAE,CAAC;QAChC,OAAO,CAAC,IAAI,CACR,oDAAoD;YAChD,iFAAiF,CACxF,CAAA;IACL,CAAC;IAED,uDAAuD;IACvD,IACI,CAAC,YAAY,CAAC,QAAQ;QACtB,CAAC,YAAY,CAAC,gBAAgB;QAC9B,CAAC,YAAY,CAAC,OAAO;QACrB,CAAC,YAAY,CAAC,QAAQ;QACtB,CAAC,YAAY,CAAC,WAAW;QACzB,CAAC,YAAY,CAAC,OAAO,EACvB,CAAC;QACC,MAAM,IAAI,KAAK,CACX,4GAA4G,CAC/G,CAAA;IACL,CAAC;IAED,oBAAoB,GAAG,YAAY,CAAA;AACvC,CAAC;AAED;;;;;;;;;;GAUG;AACH,SAAgB,eAAe;IAC3B,IAAI,oBAAoB,KAAK,IAAI,EAAE,CAAC;QAChC,MAAM,IAAI,KAAK,CACX,uCAAuC;YACnC,6FAA6F;YAC7F,4CAA4C;YAC5C,iGAAiG,CACxG,CAAA;IACL,CAAC;IAED,OAAO,oBAAoB,CAAA;AAC/B,CAAC;AAED;;;;GAIG;AACH,SAAgB,yBAAyB;IACrC,oBAAoB,GAAG,IAAI,CAAA;AAC/B,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levrbet/shared",
3
- "version": "0.1.170",
3
+ "version": "0.1.172",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "exports": {