@vocollege/app 0.0.174 → 0.0.175

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.
@@ -52,8 +52,8 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
52
52
  Object.defineProperty(exports, "__esModule", { value: true });
53
53
  var client_1 = require("@apollo/client");
54
54
  var error_1 = require("@apollo/client/link/error");
55
- // @ts-ignore
56
- var apollo_upload_client_1 = require("apollo-upload-client");
55
+ // @ts-ignore apollo-upload-client v18 publishes this as an exported ESM module without bundled declarations.
56
+ var createUploadLink_mjs_1 = __importDefault(require("apollo-upload-client/createUploadLink.mjs"));
57
57
  var VoAuth_1 = __importDefault(require("../VoAuth"));
58
58
  var VoRouter_1 = __importDefault(require("../VoRouter"));
59
59
  var VoGroups_1 = __importDefault(require("../VoGroups"));
@@ -85,7 +85,7 @@ var GraphClient = /** @class */ (function () {
85
85
  }
86
86
  else {
87
87
  // Create a Apollo Link capable of file uploads.
88
- httpLink = (0, apollo_upload_client_1.createUploadLink)({ uri: url });
88
+ httpLink = (0, createUploadLink_mjs_1.default)({ uri: url });
89
89
  }
90
90
  // Get other Apollo Links.
91
91
  // const links = this.getGraphClientLinks(getToken, refreshToken);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vocollege/app",
3
- "version": "0.0.174",
3
+ "version": "0.0.175",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "scripts": {
@@ -13,7 +13,7 @@
13
13
  "@apollo/client": "^3.10.5",
14
14
  "@casl/ability": "^6.7.1",
15
15
  "@casl/react": "^4.0.0",
16
- "apollo-upload-client": "^16.0.0",
16
+ "apollo-upload-client": "^18.0.1",
17
17
  "@types/crypto-js": "^4.2.2",
18
18
  "@types/he": "^1.2.3",
19
19
  "@types/js-cookie": "^3.0.6",
@@ -30,13 +30,13 @@
30
30
  "typescript": "^5.4.5"
31
31
  },
32
32
  "peerDependencies": {
33
- "@apollo/client": "^3.3.7",
33
+ "@apollo/client": "^3.8.0",
34
34
  "@casl/ability": "^6.2.0",
35
35
  "@casl/react": "^3.1.0",
36
36
  "apollo-upload-client": "^18.0.1",
37
37
  "axios": "^1.7.2",
38
38
  "crypto-js": "^4.0.0",
39
- "graphql": "^14.0.0 || ^15.0.0",
39
+ "graphql": "14 - 16",
40
40
  "he": "^1.2.0",
41
41
  "js-cookie": "^3.0.1",
42
42
  "react": "^18.3.1",
@@ -8,8 +8,8 @@ import {
8
8
  split,
9
9
  } from "@apollo/client";
10
10
  import { onError } from "@apollo/client/link/error";
11
- // @ts-ignore
12
- import { createUploadLink } from "apollo-upload-client";
11
+ // @ts-ignore apollo-upload-client v18 publishes this as an exported ESM module without bundled declarations.
12
+ import createUploadLink from "apollo-upload-client/createUploadLink.mjs";
13
13
  import VoAuth from "../VoAuth";
14
14
  import VoRouter from "../VoRouter";
15
15
  import VoGroups from "../VoGroups";