@platfformx/proto-contracts 1.0.6 → 1.0.8
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/gen/ts/auth-service/account.d.ts +93 -0
- package/dist/gen/ts/auth-service/account.js +34 -0
- package/dist/gen/ts/auth-service/account.js.map +1 -0
- package/dist/gen/ts/auth-service/auth.d.ts +77 -0
- package/dist/gen/ts/auth-service/auth.js +35 -0
- package/dist/gen/ts/auth-service/auth.js.map +1 -0
- package/dist/src/index.d.ts +3 -0
- package/dist/src/index.js +4 -0
- package/dist/src/index.js.map +1 -0
- package/dist/src/paths/index.d.ts +1 -0
- package/dist/src/paths/index.js +2 -0
- package/dist/src/paths/index.js.map +1 -0
- package/dist/src/paths/proto-paths.d.ts +4 -0
- package/dist/src/paths/proto-paths.js +6 -0
- package/dist/src/paths/proto-paths.js.map +1 -0
- package/dist/src/registry/grpc.registry.d.ts +0 -0
- package/dist/src/registry/grpc.registry.js +2 -0
- package/dist/src/registry/grpc.registry.js.map +1 -0
- package/eslint.config.mjs +1 -1
- package/package.json +3 -3
- package/src/index.ts +2 -0
- package/src/registry/grpc.registry.ts +0 -0
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
export declare const protobufPackage = "auth_service.v1";
|
|
3
|
+
export interface GetAccountRequest {
|
|
4
|
+
userId: string;
|
|
5
|
+
}
|
|
6
|
+
export interface GetAccountResponse {
|
|
7
|
+
userId: string;
|
|
8
|
+
email?: string | undefined;
|
|
9
|
+
phone?: string | undefined;
|
|
10
|
+
username?: string | undefined;
|
|
11
|
+
isPhoneVerified: boolean;
|
|
12
|
+
isEmailVerified: boolean;
|
|
13
|
+
}
|
|
14
|
+
export interface InitEmailChangeRequest {
|
|
15
|
+
userId: string;
|
|
16
|
+
email: string;
|
|
17
|
+
}
|
|
18
|
+
export interface InitEmailChangeResponse {
|
|
19
|
+
verificationId: string;
|
|
20
|
+
}
|
|
21
|
+
export interface InitPhoneChangeRequest {
|
|
22
|
+
userId: string;
|
|
23
|
+
phone: string;
|
|
24
|
+
}
|
|
25
|
+
export interface InitPhoneChangeResponse {
|
|
26
|
+
verificationId: string;
|
|
27
|
+
}
|
|
28
|
+
export interface ConfirmEmailChangeRequest {
|
|
29
|
+
userId: string;
|
|
30
|
+
email: string;
|
|
31
|
+
verificationId: string;
|
|
32
|
+
code: string;
|
|
33
|
+
}
|
|
34
|
+
export interface ConfirmEmailChangeResponse {
|
|
35
|
+
}
|
|
36
|
+
export interface ConfirmPhoneChangeRequest {
|
|
37
|
+
userId: string;
|
|
38
|
+
phone: string;
|
|
39
|
+
verificationId: string;
|
|
40
|
+
code: string;
|
|
41
|
+
}
|
|
42
|
+
export interface ConfirmPhoneChangeResponse {
|
|
43
|
+
}
|
|
44
|
+
export interface PatchAccountRequest {
|
|
45
|
+
userId: string;
|
|
46
|
+
username?: string | undefined;
|
|
47
|
+
displayName?: string | undefined;
|
|
48
|
+
email?: string | undefined;
|
|
49
|
+
phone?: string | undefined;
|
|
50
|
+
}
|
|
51
|
+
export interface PatchAccountResponse {
|
|
52
|
+
userId: string;
|
|
53
|
+
username?: string | undefined;
|
|
54
|
+
displayName?: string | undefined;
|
|
55
|
+
phone?: string | undefined;
|
|
56
|
+
email?: string | undefined;
|
|
57
|
+
isPhoneVerified: boolean;
|
|
58
|
+
isEmailVerified: boolean;
|
|
59
|
+
}
|
|
60
|
+
export interface ChangePasswordRequest {
|
|
61
|
+
userId: string;
|
|
62
|
+
oldPassword: string;
|
|
63
|
+
newPasword: string;
|
|
64
|
+
}
|
|
65
|
+
export interface ChangePasswordResponse {
|
|
66
|
+
}
|
|
67
|
+
export interface LinkOAuthRequest {
|
|
68
|
+
userId: string;
|
|
69
|
+
oauthToken: string;
|
|
70
|
+
}
|
|
71
|
+
export interface LinkOAuthResponse {
|
|
72
|
+
}
|
|
73
|
+
export declare const AUTH_SERVICE_V1_PACKAGE_NAME = "auth_service.v1";
|
|
74
|
+
export interface AccountServiceClient {
|
|
75
|
+
getAccount(request: GetAccountRequest): Observable<GetAccountResponse>;
|
|
76
|
+
patchAccount(request: PatchAccountRequest): Observable<PatchAccountResponse>;
|
|
77
|
+
initEmailChange(request: InitEmailChangeRequest): Observable<InitEmailChangeResponse>;
|
|
78
|
+
initPhoneChange(request: InitPhoneChangeRequest): Observable<InitPhoneChangeResponse>;
|
|
79
|
+
confirmEmailChange(request: ConfirmEmailChangeRequest): Observable<ConfirmEmailChangeResponse>;
|
|
80
|
+
confirmPhoneChange(request: ConfirmPhoneChangeRequest): Observable<ConfirmPhoneChangeResponse>;
|
|
81
|
+
linkOAuth(request: LinkOAuthRequest): Observable<LinkOAuthResponse>;
|
|
82
|
+
}
|
|
83
|
+
export interface AccountServiceController {
|
|
84
|
+
getAccount(request: GetAccountRequest): Promise<GetAccountResponse> | Observable<GetAccountResponse> | GetAccountResponse;
|
|
85
|
+
patchAccount(request: PatchAccountRequest): Promise<PatchAccountResponse> | Observable<PatchAccountResponse> | PatchAccountResponse;
|
|
86
|
+
initEmailChange(request: InitEmailChangeRequest): Promise<InitEmailChangeResponse> | Observable<InitEmailChangeResponse> | InitEmailChangeResponse;
|
|
87
|
+
initPhoneChange(request: InitPhoneChangeRequest): Promise<InitPhoneChangeResponse> | Observable<InitPhoneChangeResponse> | InitPhoneChangeResponse;
|
|
88
|
+
confirmEmailChange(request: ConfirmEmailChangeRequest): Promise<ConfirmEmailChangeResponse> | Observable<ConfirmEmailChangeResponse> | ConfirmEmailChangeResponse;
|
|
89
|
+
confirmPhoneChange(request: ConfirmPhoneChangeRequest): Promise<ConfirmPhoneChangeResponse> | Observable<ConfirmPhoneChangeResponse> | ConfirmPhoneChangeResponse;
|
|
90
|
+
linkOAuth(request: LinkOAuthRequest): Promise<LinkOAuthResponse> | Observable<LinkOAuthResponse> | LinkOAuthResponse;
|
|
91
|
+
}
|
|
92
|
+
export declare function AccountServiceControllerMethods(): (constructor: Function) => void;
|
|
93
|
+
export declare const ACCOUNT_SERVICE_NAME = "AccountService";
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-ts_proto v2.11.8
|
|
4
|
+
// protoc v7.34.0
|
|
5
|
+
// source: auth-service/account.proto
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
|
|
8
|
+
import { Observable } from "rxjs";
|
|
9
|
+
export const protobufPackage = "auth_service.v1";
|
|
10
|
+
export const AUTH_SERVICE_V1_PACKAGE_NAME = "auth_service.v1";
|
|
11
|
+
export function AccountServiceControllerMethods() {
|
|
12
|
+
return function (constructor) {
|
|
13
|
+
const grpcMethods = [
|
|
14
|
+
"getAccount",
|
|
15
|
+
"patchAccount",
|
|
16
|
+
"initEmailChange",
|
|
17
|
+
"initPhoneChange",
|
|
18
|
+
"confirmEmailChange",
|
|
19
|
+
"confirmPhoneChange",
|
|
20
|
+
"linkOAuth",
|
|
21
|
+
];
|
|
22
|
+
for (const method of grpcMethods) {
|
|
23
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
24
|
+
GrpcMethod("AccountService", method)(constructor.prototype[method], method, descriptor);
|
|
25
|
+
}
|
|
26
|
+
const grpcStreamMethods = [];
|
|
27
|
+
for (const method of grpcStreamMethods) {
|
|
28
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
29
|
+
GrpcStreamMethod("AccountService", method)(constructor.prototype[method], method, descriptor);
|
|
30
|
+
}
|
|
31
|
+
};
|
|
32
|
+
}
|
|
33
|
+
export const ACCOUNT_SERVICE_NAME = "AccountService";
|
|
34
|
+
//# sourceMappingURL=account.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"account.js","sourceRoot":"","sources":["../../../../gen/ts/auth-service/account.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,YAAY;AACZ,iCAAiC;AACjC,iCAAiC;AACjC,qCAAqC;AAErC,oBAAoB;AACpB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAwFjD,MAAM,CAAC,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;AA8C9D,MAAM,UAAU,+BAA+B;IAC7C,OAAO,UAAU,WAAqB;QACpC,MAAM,WAAW,GAAa;YAC5B,YAAY;YACZ,cAAc;YACd,iBAAiB;YACjB,iBAAiB;YACjB,oBAAoB;YACpB,oBAAoB;YACpB,WAAW;SACZ,CAAC;QACF,KAAK,MAAM,MAAM,IAAI,WAAW,EAAE,CAAC;YACjC,MAAM,UAAU,GAAQ,OAAO,CAAC,wBAAwB,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YACxF,UAAU,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QAC1F,CAAC;QACD,MAAM,iBAAiB,GAAa,EAAE,CAAC;QACvC,KAAK,MAAM,MAAM,IAAI,iBAAiB,EAAE,CAAC;YACvC,MAAM,UAAU,GAAQ,OAAO,CAAC,wBAAwB,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YACxF,gBAAgB,CAAC,gBAAgB,EAAE,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QAChG,CAAC;IACH,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,oBAAoB,GAAG,gBAAgB,CAAC"}
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { Observable } from "rxjs";
|
|
2
|
+
export declare const protobufPackage = "auth_service.v1";
|
|
3
|
+
/** Shared */
|
|
4
|
+
export declare enum OAuthProvider {
|
|
5
|
+
OAUTH_PROVIDER_UNSPECIFIED = 0,
|
|
6
|
+
OAUTH_PROVIDER_GOOGLE = 1,
|
|
7
|
+
OAUTH_PROVIDER_GITHUB = 2,
|
|
8
|
+
OAUTH_PROVIDER_TELEGRAM = 3,
|
|
9
|
+
UNRECOGNIZED = -1
|
|
10
|
+
}
|
|
11
|
+
/** Create account */
|
|
12
|
+
export interface CreateAccountRequest {
|
|
13
|
+
credentials: UserCredentials | undefined;
|
|
14
|
+
}
|
|
15
|
+
export interface CreateAccountResponse {
|
|
16
|
+
userId: string;
|
|
17
|
+
accessToken: string;
|
|
18
|
+
refreshToken: string;
|
|
19
|
+
user: UserProfile | undefined;
|
|
20
|
+
}
|
|
21
|
+
/** Authenticate credentials */
|
|
22
|
+
export interface AuthenticationRequest {
|
|
23
|
+
credentials: UserCredentials | undefined;
|
|
24
|
+
}
|
|
25
|
+
export interface AuthenticationResponse {
|
|
26
|
+
userId: string;
|
|
27
|
+
accessToken: string;
|
|
28
|
+
refreshToken: string;
|
|
29
|
+
user: UserProfile | undefined;
|
|
30
|
+
}
|
|
31
|
+
/** AuthenticateWithOAuth */
|
|
32
|
+
export interface OAuthSessionRequest {
|
|
33
|
+
provider: OAuthProvider;
|
|
34
|
+
token: string;
|
|
35
|
+
}
|
|
36
|
+
export interface OAuthSessionResponse {
|
|
37
|
+
userId: string;
|
|
38
|
+
accessToken: string;
|
|
39
|
+
refreshToken: string;
|
|
40
|
+
user: UserProfile | undefined;
|
|
41
|
+
isNewUser: boolean;
|
|
42
|
+
}
|
|
43
|
+
/** Tokens */
|
|
44
|
+
export interface TokenRefreshRequest {
|
|
45
|
+
refreshToken: string;
|
|
46
|
+
}
|
|
47
|
+
export interface TokenRefreshResponse {
|
|
48
|
+
accessToken: string;
|
|
49
|
+
refreshToken: string;
|
|
50
|
+
}
|
|
51
|
+
export interface UserCredentials {
|
|
52
|
+
email?: string | undefined;
|
|
53
|
+
phone?: string | undefined;
|
|
54
|
+
username?: string | undefined;
|
|
55
|
+
password: string;
|
|
56
|
+
}
|
|
57
|
+
export interface UserProfile {
|
|
58
|
+
email?: string | undefined;
|
|
59
|
+
phone?: string | undefined;
|
|
60
|
+
username?: string | undefined;
|
|
61
|
+
displayName?: string | undefined;
|
|
62
|
+
}
|
|
63
|
+
export declare const AUTH_SERVICE_V1_PACKAGE_NAME = "auth_service.v1";
|
|
64
|
+
export interface AuthServiceClient {
|
|
65
|
+
createAccount(request: CreateAccountRequest): Observable<CreateAccountResponse>;
|
|
66
|
+
authenticate(request: AuthenticationRequest): Observable<AuthenticationResponse>;
|
|
67
|
+
authenticateWithOAuth(request: OAuthSessionRequest): Observable<OAuthSessionResponse>;
|
|
68
|
+
refreshTokens(request: TokenRefreshRequest): Observable<TokenRefreshResponse>;
|
|
69
|
+
}
|
|
70
|
+
export interface AuthServiceController {
|
|
71
|
+
createAccount(request: CreateAccountRequest): Promise<CreateAccountResponse> | Observable<CreateAccountResponse> | CreateAccountResponse;
|
|
72
|
+
authenticate(request: AuthenticationRequest): Promise<AuthenticationResponse> | Observable<AuthenticationResponse> | AuthenticationResponse;
|
|
73
|
+
authenticateWithOAuth(request: OAuthSessionRequest): Promise<OAuthSessionResponse> | Observable<OAuthSessionResponse> | OAuthSessionResponse;
|
|
74
|
+
refreshTokens(request: TokenRefreshRequest): Promise<TokenRefreshResponse> | Observable<TokenRefreshResponse> | TokenRefreshResponse;
|
|
75
|
+
}
|
|
76
|
+
export declare function AuthServiceControllerMethods(): (constructor: Function) => void;
|
|
77
|
+
export declare const AUTH_SERVICE_NAME = "AuthService";
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
// Code generated by protoc-gen-ts_proto. DO NOT EDIT.
|
|
2
|
+
// versions:
|
|
3
|
+
// protoc-gen-ts_proto v2.11.8
|
|
4
|
+
// protoc v7.34.0
|
|
5
|
+
// source: auth-service/auth.proto
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
import { GrpcMethod, GrpcStreamMethod } from "@nestjs/microservices";
|
|
8
|
+
import { Observable } from "rxjs";
|
|
9
|
+
export const protobufPackage = "auth_service.v1";
|
|
10
|
+
/** Shared */
|
|
11
|
+
export var OAuthProvider;
|
|
12
|
+
(function (OAuthProvider) {
|
|
13
|
+
OAuthProvider[OAuthProvider["OAUTH_PROVIDER_UNSPECIFIED"] = 0] = "OAUTH_PROVIDER_UNSPECIFIED";
|
|
14
|
+
OAuthProvider[OAuthProvider["OAUTH_PROVIDER_GOOGLE"] = 1] = "OAUTH_PROVIDER_GOOGLE";
|
|
15
|
+
OAuthProvider[OAuthProvider["OAUTH_PROVIDER_GITHUB"] = 2] = "OAUTH_PROVIDER_GITHUB";
|
|
16
|
+
OAuthProvider[OAuthProvider["OAUTH_PROVIDER_TELEGRAM"] = 3] = "OAUTH_PROVIDER_TELEGRAM";
|
|
17
|
+
OAuthProvider[OAuthProvider["UNRECOGNIZED"] = -1] = "UNRECOGNIZED";
|
|
18
|
+
})(OAuthProvider || (OAuthProvider = {}));
|
|
19
|
+
export const AUTH_SERVICE_V1_PACKAGE_NAME = "auth_service.v1";
|
|
20
|
+
export function AuthServiceControllerMethods() {
|
|
21
|
+
return function (constructor) {
|
|
22
|
+
const grpcMethods = ["createAccount", "authenticate", "authenticateWithOAuth", "refreshTokens"];
|
|
23
|
+
for (const method of grpcMethods) {
|
|
24
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
25
|
+
GrpcMethod("AuthService", method)(constructor.prototype[method], method, descriptor);
|
|
26
|
+
}
|
|
27
|
+
const grpcStreamMethods = [];
|
|
28
|
+
for (const method of grpcStreamMethods) {
|
|
29
|
+
const descriptor = Reflect.getOwnPropertyDescriptor(constructor.prototype, method);
|
|
30
|
+
GrpcStreamMethod("AuthService", method)(constructor.prototype[method], method, descriptor);
|
|
31
|
+
}
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
export const AUTH_SERVICE_NAME = "AuthService";
|
|
35
|
+
//# sourceMappingURL=auth.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"auth.js","sourceRoot":"","sources":["../../../../gen/ts/auth-service/auth.ts"],"names":[],"mappings":"AAAA,sDAAsD;AACtD,YAAY;AACZ,iCAAiC;AACjC,iCAAiC;AACjC,kCAAkC;AAElC,oBAAoB;AACpB,OAAO,EAAE,UAAU,EAAE,gBAAgB,EAAE,MAAM,uBAAuB,CAAC;AACrE,OAAO,EAAE,UAAU,EAAE,MAAM,MAAM,CAAC;AAElC,MAAM,CAAC,MAAM,eAAe,GAAG,iBAAiB,CAAC;AAEjD,aAAa;AACb,MAAM,CAAN,IAAY,aAMX;AAND,WAAY,aAAa;IACvB,6FAA8B,CAAA;IAC9B,mFAAyB,CAAA;IACzB,mFAAyB,CAAA;IACzB,uFAA2B,CAAA;IAC3B,kEAAiB,CAAA;AACnB,CAAC,EANW,aAAa,KAAb,aAAa,QAMxB;AAgED,MAAM,CAAC,MAAM,4BAA4B,GAAG,iBAAiB,CAAC;AA8B9D,MAAM,UAAU,4BAA4B;IAC1C,OAAO,UAAU,WAAqB;QACpC,MAAM,WAAW,GAAa,CAAC,eAAe,EAAE,cAAc,EAAE,uBAAuB,EAAE,eAAe,CAAC,CAAC;QAC1G,KAAK,MAAM,MAAM,IAAI,WAAW,EAAE,CAAC;YACjC,MAAM,UAAU,GAAQ,OAAO,CAAC,wBAAwB,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YACxF,UAAU,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QACvF,CAAC;QACD,MAAM,iBAAiB,GAAa,EAAE,CAAC;QACvC,KAAK,MAAM,MAAM,IAAI,iBAAiB,EAAE,CAAC;YACvC,MAAM,UAAU,GAAQ,OAAO,CAAC,wBAAwB,CAAC,WAAW,CAAC,SAAS,EAAE,MAAM,CAAC,CAAC;YACxF,gBAAgB,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,WAAW,CAAC,SAAS,CAAC,MAAM,CAAC,EAAE,MAAM,EAAE,UAAU,CAAC,CAAC;QAC7F,CAAC;IACH,CAAC,CAAC;AACJ,CAAC;AAED,MAAM,CAAC,MAAM,iBAAiB,GAAG,aAAa,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,SAAS,CAAC;AACxB,OAAO,KAAK,IAAI,MAAM,6BAA6B,CAAC;AACpD,OAAO,KAAK,OAAO,MAAM,gCAAgC,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './proto-paths';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/paths/index.ts"],"names":[],"mappings":"AAAA,cAAc,eAAe,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"proto-paths.js","sourceRoot":"","sources":["../../../src/paths/proto-paths.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAE5B,MAAM,CAAC,MAAM,WAAW,GAAG;IACzB,OAAO,EAAE,IAAI,CAAC,SAAS,EAAE,wCAAwC,CAAC;IAClE,IAAI,EAAE,IAAI,CAAC,SAAS,EAAE,qCAAqC,CAAC;CACpD,CAAC"}
|
|
File without changes
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"grpc.registry.js","sourceRoot":"","sources":["../../../src/registry/grpc.registry.ts"],"names":[],"mappings":""}
|
package/eslint.config.mjs
CHANGED
package/package.json
CHANGED
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@platfformx/proto-contracts",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.8",
|
|
4
4
|
"description": "",
|
|
5
|
-
"main": "index.js",
|
|
5
|
+
"main": "dist/src/index.js",
|
|
6
|
+
"types": "dist/src/index.d.ts",
|
|
6
7
|
"publishConfig": {
|
|
7
8
|
"access": "public"
|
|
8
9
|
},
|
|
@@ -13,7 +14,6 @@
|
|
|
13
14
|
"keywords": [],
|
|
14
15
|
"author": "",
|
|
15
16
|
"license": "ISC",
|
|
16
|
-
"type": "module",
|
|
17
17
|
"devDependencies": {
|
|
18
18
|
"@types/node": "^25.7.0",
|
|
19
19
|
"globstar": "^1.0.0",
|
package/src/index.ts
CHANGED
|
File without changes
|