@unwanted/matrix-sdk-mini 34.12.0-4 → 34.12.0-5

Sign up to get free protection for your applications and to get access to all the features.
@@ -2,30 +2,30 @@ export declare enum ClientPrefix {
2
2
  /**
3
3
  * A constant representing the URI path for Client-Server API endpoints versioned at v1.
4
4
  */
5
- V1 = "/_matrix/client/v1",
5
+ V1 = "/im/_matrix/client/v1",
6
6
  /**
7
7
  * A constant representing the URI path for Client-Server API endpoints versioned at v3.
8
8
  */
9
- V3 = "/_matrix/client/v3",
9
+ V3 = "/im/_matrix/client/v3",
10
10
  /**
11
11
  * A constant representing the URI path for as-yet unspecified Client-Server HTTP APIs.
12
12
  */
13
- Unstable = "/_matrix/client/unstable"
13
+ Unstable = "/im/_matrix/client/unstable"
14
14
  }
15
15
  export declare enum IdentityPrefix {
16
16
  /**
17
17
  * URI path for the v2 identity API
18
18
  */
19
- V2 = "/_matrix/identity/v2"
19
+ V2 = "/im/_matrix/identity/v2"
20
20
  }
21
21
  export declare enum MediaPrefix {
22
22
  /**
23
23
  * A constant representing the URI path for Client-Server API Media endpoints versioned at v1.
24
24
  */
25
- V1 = "/_matrix/media/v1",
25
+ V1 = "/im/_matrix/media/v1",
26
26
  /**
27
27
  * A constant representing the URI path for Client-Server API Media endpoints versioned at v3.
28
28
  */
29
- V3 = "/_matrix/media/v3"
29
+ V3 = "/im/_matrix/media/v3"
30
30
  }
31
31
  //# sourceMappingURL=prefix.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"prefix.d.ts","sourceRoot":"","sources":["../../src/http-api/prefix.ts"],"names":[],"mappings":"AAgBA,oBAAY,YAAY;IACpB;;OAEG;IACH,EAAE,uBAAuB;IACzB;;OAEG;IACH,EAAE,uBAAuB;IACzB;;OAEG;IACH,QAAQ,6BAA6B;CACxC;AAED,oBAAY,cAAc;IACtB;;OAEG;IACH,EAAE,yBAAyB;CAC9B;AAED,oBAAY,WAAW;IACnB;;OAEG;IACH,EAAE,sBAAsB;IACxB;;OAEG;IACH,EAAE,sBAAsB;CAC3B"}
1
+ {"version":3,"file":"prefix.d.ts","sourceRoot":"","sources":["../../src/http-api/prefix.ts"],"names":[],"mappings":"AAgBA,oBAAY,YAAY;IACpB;;OAEG;IACH,EAAE,0BAA0B;IAC5B;;OAEG;IACH,EAAE,0BAA0B;IAC5B;;OAEG;IACH,QAAQ,gCAAgC;CAC3C;AAED,oBAAY,cAAc;IACtB;;OAEG;IACH,EAAE,4BAA4B;CACjC;AAED,oBAAY,WAAW;IACnB;;OAEG;IACH,EAAE,yBAAyB;IAC3B;;OAEG;IACH,EAAE,yBAAyB;CAC9B"}
@@ -15,18 +15,18 @@ limitations under the License.
15
15
  */
16
16
 
17
17
  export var ClientPrefix = /*#__PURE__*/function (ClientPrefix) {
18
- ClientPrefix["V1"] = "/_matrix/client/v1";
19
- ClientPrefix["V3"] = "/_matrix/client/v3";
20
- ClientPrefix["Unstable"] = "/_matrix/client/unstable";
18
+ ClientPrefix["V1"] = "/im/_matrix/client/v1";
19
+ ClientPrefix["V3"] = "/im/_matrix/client/v3";
20
+ ClientPrefix["Unstable"] = "/im/_matrix/client/unstable";
21
21
  return ClientPrefix;
22
22
  }({});
23
23
  export var IdentityPrefix = /*#__PURE__*/function (IdentityPrefix) {
24
- IdentityPrefix["V2"] = "/_matrix/identity/v2";
24
+ IdentityPrefix["V2"] = "/im/_matrix/identity/v2";
25
25
  return IdentityPrefix;
26
26
  }({});
27
27
  export var MediaPrefix = /*#__PURE__*/function (MediaPrefix) {
28
- MediaPrefix["V1"] = "/_matrix/media/v1";
29
- MediaPrefix["V3"] = "/_matrix/media/v3";
28
+ MediaPrefix["V1"] = "/im/_matrix/media/v1";
29
+ MediaPrefix["V3"] = "/im/_matrix/media/v3";
30
30
  return MediaPrefix;
31
31
  }({});
32
32
  //# sourceMappingURL=prefix.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"prefix.js","names":["ClientPrefix","IdentityPrefix","MediaPrefix"],"sources":["../../src/http-api/prefix.ts"],"sourcesContent":["/*\nCopyright 2022 The Matrix.org Foundation C.I.C.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\nexport enum ClientPrefix {\n /**\n * A constant representing the URI path for Client-Server API endpoints versioned at v1.\n */\n V1 = \"/_matrix/client/v1\",\n /**\n * A constant representing the URI path for Client-Server API endpoints versioned at v3.\n */\n V3 = \"/_matrix/client/v3\",\n /**\n * A constant representing the URI path for as-yet unspecified Client-Server HTTP APIs.\n */\n Unstable = \"/_matrix/client/unstable\",\n}\n\nexport enum IdentityPrefix {\n /**\n * URI path for the v2 identity API\n */\n V2 = \"/_matrix/identity/v2\",\n}\n\nexport enum MediaPrefix {\n /**\n * A constant representing the URI path for Client-Server API Media endpoints versioned at v1.\n */\n V1 = \"/_matrix/media/v1\",\n /**\n * A constant representing the URI path for Client-Server API Media endpoints versioned at v3.\n */\n V3 = \"/_matrix/media/v3\",\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,WAAYA,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA;AAexB,WAAYC,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA;AAO1B,WAAYC,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA","ignoreList":[]}
1
+ {"version":3,"file":"prefix.js","names":["ClientPrefix","IdentityPrefix","MediaPrefix"],"sources":["../../src/http-api/prefix.ts"],"sourcesContent":["/*\nCopyright 2022 The Matrix.org Foundation C.I.C.\n\nLicensed under the Apache License, Version 2.0 (the \"License\");\nyou may not use this file except in compliance with the License.\nYou may obtain a copy of the License at\n\n http://www.apache.org/licenses/LICENSE-2.0\n\nUnless required by applicable law or agreed to in writing, software\ndistributed under the License is distributed on an \"AS IS\" BASIS,\nWITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\nSee the License for the specific language governing permissions and\nlimitations under the License.\n*/\n\nexport enum ClientPrefix {\n /**\n * A constant representing the URI path for Client-Server API endpoints versioned at v1.\n */\n V1 = \"/im/_matrix/client/v1\",\n /**\n * A constant representing the URI path for Client-Server API endpoints versioned at v3.\n */\n V3 = \"/im/_matrix/client/v3\",\n /**\n * A constant representing the URI path for as-yet unspecified Client-Server HTTP APIs.\n */\n Unstable = \"/im/_matrix/client/unstable\",\n}\n\nexport enum IdentityPrefix {\n /**\n * URI path for the v2 identity API\n */\n V2 = \"/im/_matrix/identity/v2\",\n}\n\nexport enum MediaPrefix {\n /**\n * A constant representing the URI path for Client-Server API Media endpoints versioned at v1.\n */\n V1 = \"/im/_matrix/media/v1\",\n /**\n * A constant representing the URI path for Client-Server API Media endpoints versioned at v3.\n */\n V3 = \"/im/_matrix/media/v3\",\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA,WAAYA,YAAY,0BAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAZA,YAAY;EAAA,OAAZA,YAAY;AAAA;AAexB,WAAYC,cAAc,0BAAdA,cAAc;EAAdA,cAAc;EAAA,OAAdA,cAAc;AAAA;AAO1B,WAAYC,WAAW,0BAAXA,WAAW;EAAXA,WAAW;EAAXA,WAAW;EAAA,OAAXA,WAAW;AAAA","ignoreList":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@unwanted/matrix-sdk-mini",
3
- "version": "34.12.0-4",
3
+ "version": "34.12.0-5",
4
4
  "description": "Matrix Client-Server mini SDK for Javascript",
5
5
  "engines": {
6
6
  "node": ">=20.0.0"
@@ -128,5 +128,6 @@
128
128
  "outputDirectory": "coverage",
129
129
  "outputName": "jest-sonar-report.xml",
130
130
  "relativePaths": true
131
- }
131
+ },
132
+ "packageManager": "yarn@1.22.22+sha512.a6b2f7906b721bba3d67d4aff083df04dad64c399707841b7acf00f6b133b7ac24255f2652fa22ae3534329dc6180534e98d17432037ff6fd140556e2bb3137e"
132
133
  }
package/src/client.ts CHANGED
@@ -452,14 +452,6 @@ export const UNSTABLE_MSC4133_EXTENDED_PROFILES = "uk.tcpip.msc4133";
452
452
 
453
453
  export type SendToDeviceContentMap = Map<string, Map<string, Record<string, any>>>;
454
454
 
455
- export interface ISignedKey {
456
- keys: Record<string, string>;
457
- signatures: ISignatures;
458
- user_id: string;
459
- algorithms: string[];
460
- device_id: string;
461
- }
462
-
463
455
  export interface IUploadKeySignaturesResponse {
464
456
  failures: Record<
465
457
  string,
@@ -18,31 +18,31 @@ export enum ClientPrefix {
18
18
  /**
19
19
  * A constant representing the URI path for Client-Server API endpoints versioned at v1.
20
20
  */
21
- V1 = "/_matrix/client/v1",
21
+ V1 = "/im/_matrix/client/v1",
22
22
  /**
23
23
  * A constant representing the URI path for Client-Server API endpoints versioned at v3.
24
24
  */
25
- V3 = "/_matrix/client/v3",
25
+ V3 = "/im/_matrix/client/v3",
26
26
  /**
27
27
  * A constant representing the URI path for as-yet unspecified Client-Server HTTP APIs.
28
28
  */
29
- Unstable = "/_matrix/client/unstable",
29
+ Unstable = "/im/_matrix/client/unstable",
30
30
  }
31
31
 
32
32
  export enum IdentityPrefix {
33
33
  /**
34
34
  * URI path for the v2 identity API
35
35
  */
36
- V2 = "/_matrix/identity/v2",
36
+ V2 = "/im/_matrix/identity/v2",
37
37
  }
38
38
 
39
39
  export enum MediaPrefix {
40
40
  /**
41
41
  * A constant representing the URI path for Client-Server API Media endpoints versioned at v1.
42
42
  */
43
- V1 = "/_matrix/media/v1",
43
+ V1 = "/im/_matrix/media/v1",
44
44
  /**
45
45
  * A constant representing the URI path for Client-Server API Media endpoints versioned at v3.
46
46
  */
47
- V3 = "/_matrix/media/v3",
47
+ V3 = "/im/_matrix/media/v3",
48
48
  }