@funpay-pilot/contracts 0.1.29 → 0.1.31

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,2 +1,2 @@
1
- export * from './events';
1
+ export * from './messages';
2
2
  export * from './proto';
package/dist/index.js CHANGED
@@ -14,5 +14,5 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
14
14
  for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
- __exportStar(require("./events"), exports);
17
+ __exportStar(require("./messages"), exports);
18
18
  __exportStar(require("./proto"), exports);
@@ -2,7 +2,7 @@ export interface NewMessageEvent {
2
2
  id: number;
3
3
  chatId: number;
4
4
  authorId: number;
5
- accountId: number;
5
+ accountId: string;
6
6
  text: string;
7
7
  }
8
8
  export interface SendMessageCommand {
@@ -1,11 +1,11 @@
1
- export interface AccountFetchEvent {
1
+ export interface GetAccountRequest {
2
2
  accountId: string;
3
3
  goldenKey: string;
4
4
  funpayId: number | null;
5
5
  phpsessid: string | null;
6
6
  csrfToken: string | null;
7
7
  }
8
- export interface AccountFetchedEvent {
8
+ export interface GetAccountResponse {
9
9
  accountId: string;
10
10
  funpayId: number;
11
11
  csrfToken: string;
@@ -14,7 +14,3 @@ export interface AccountFetchedEvent {
14
14
  avatarUrl: string;
15
15
  balance: number;
16
16
  }
17
- export interface AccountFetchFailedEvent {
18
- accountId: string;
19
- error: string;
20
- }
@@ -1,2 +1,2 @@
1
1
  export * from './execute-runner.interface';
2
- export * from './fetch.interface';
2
+ export * from './get.interface';
@@ -15,4 +15,4 @@ var __exportStar = (this && this.__exportStar) || function(m, exports) {
15
15
  };
16
16
  Object.defineProperty(exports, "__esModule", { value: true });
17
17
  __exportStar(require("./execute-runner.interface"), exports);
18
- __exportStar(require("./fetch.interface"), exports);
18
+ __exportStar(require("./get.interface"), exports);
package/gen/auth.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
3
  // protoc-gen-ts_proto v2.11.6
4
- // protoc v6.33.6
4
+ // protoc v4.25.9
5
5
  // source: auth.proto
6
6
 
7
7
  /* eslint-disable */
package/gen/funpay.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
3
  // protoc-gen-ts_proto v2.11.6
4
- // protoc v6.33.6
4
+ // protoc v4.25.9
5
5
  // source: funpay.proto
6
6
 
7
7
  /* eslint-disable */
package/gen/users.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  // Code generated by protoc-gen-ts_proto. DO NOT EDIT.
2
2
  // versions:
3
3
  // protoc-gen-ts_proto v2.11.6
4
- // protoc v6.33.6
4
+ // protoc v4.25.9
5
5
  // source: users.proto
6
6
 
7
7
  /* eslint-disable */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@funpay-pilot/contracts",
3
- "version": "0.1.29",
3
+ "version": "0.1.31",
4
4
  "description": "Protobuf definitions and generated TypeScript types",
5
5
  "main": "./dist/index.js",
6
6
  "types": "./dist/index.d.ts",
File without changes
File without changes