@secrecy/lib 1.39.0-feat-custom-tech-plan.2 → 1.39.0-feat-custom-tech-plan.4

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.
Files changed (2) hide show
  1. package/dist/types/client.d.ts +25 -55
  2. package/package.json +14 -14
@@ -626,20 +626,20 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
626
626
  _input_in: {} | undefined;
627
627
  _input_out: {} | undefined;
628
628
  _output_in: {
629
- codes: string[];
630
629
  id: string;
631
- kind: string;
632
- relatedTo: "secrecy" | "secrecy_tech";
630
+ name: string;
633
631
  descriptorId: string;
634
- isCustomPlan: boolean;
632
+ stripePricesId: string | null;
633
+ isCustomPlan?: boolean | undefined;
634
+ canHaveDatabase?: boolean | undefined;
635
635
  };
636
636
  _output_out: {
637
- codes: string[];
638
637
  id: string;
639
- kind: string;
640
- relatedTo: "secrecy" | "secrecy_tech";
638
+ name: string;
641
639
  descriptorId: string;
642
640
  isCustomPlan: boolean;
641
+ canHaveDatabase: boolean;
642
+ stripePricesId: string | null;
643
643
  };
644
644
  }, unknown>>;
645
645
  };
@@ -678,7 +678,7 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
678
678
  }>;
679
679
  _meta: object;
680
680
  _ctx_out: {
681
- session: SecrecySession | null;
681
+ session: SecrecySessionWithApp;
682
682
  req: {
683
683
  headers: Headers;
684
684
  body: ReadableStream<Uint8Array> | null;
@@ -692,12 +692,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
692
692
  _input_in: {} | undefined;
693
693
  _input_out: {} | undefined;
694
694
  _output_in: ({
695
- codes: string[];
696
695
  id: string;
697
- kind: string;
698
- relatedTo: "secrecy" | "secrecy_tech";
699
- descriptorId: string;
700
- isCustomPlan: boolean;
696
+ name: string;
697
+ isCustomPlan?: boolean | undefined;
701
698
  } & {
702
699
  descriptor: {
703
700
  devsBase: bigint | null;
@@ -725,11 +722,8 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
725
722
  price: number;
726
723
  })[];
727
724
  _output_out: ({
728
- codes: string[];
729
725
  id: string;
730
- kind: string;
731
- relatedTo: "secrecy" | "secrecy_tech";
732
- descriptorId: string;
726
+ name: string;
733
727
  isCustomPlan: boolean;
734
728
  } & {
735
729
  descriptor: {
@@ -15719,12 +15713,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
15719
15713
  };
15720
15714
  _output_in: {
15721
15715
  plan: {
15722
- codes: string[];
15723
15716
  id: string;
15724
- kind: string;
15725
- relatedTo: "secrecy" | "secrecy_tech";
15726
- descriptorId: string;
15727
- isCustomPlan: boolean;
15717
+ name: string;
15718
+ isCustomPlan?: boolean | undefined;
15728
15719
  } & {
15729
15720
  descriptor: {
15730
15721
  devsBase: bigint | null;
@@ -15770,12 +15761,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
15770
15761
  } | null;
15771
15762
  };
15772
15763
  plans: ({
15773
- codes: string[];
15774
15764
  id: string;
15775
- kind: string;
15776
- relatedTo: "secrecy" | "secrecy_tech";
15777
- descriptorId: string;
15778
- isCustomPlan: boolean;
15765
+ name: string;
15766
+ isCustomPlan?: boolean | undefined;
15779
15767
  } & {
15780
15768
  descriptor: {
15781
15769
  devsBase: bigint | null;
@@ -15803,11 +15791,8 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
15803
15791
  };
15804
15792
  _output_out: {
15805
15793
  plan: {
15806
- codes: string[];
15807
15794
  id: string;
15808
- kind: string;
15809
- relatedTo: "secrecy" | "secrecy_tech";
15810
- descriptorId: string;
15795
+ name: string;
15811
15796
  isCustomPlan: boolean;
15812
15797
  } & {
15813
15798
  descriptor: {
@@ -15854,11 +15839,8 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
15854
15839
  } | null;
15855
15840
  };
15856
15841
  plans: ({
15857
- codes: string[];
15858
15842
  id: string;
15859
- kind: string;
15860
- relatedTo: "secrecy" | "secrecy_tech";
15861
- descriptorId: string;
15843
+ name: string;
15862
15844
  isCustomPlan: boolean;
15863
15845
  } & {
15864
15846
  descriptor: {
@@ -15941,12 +15923,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
15941
15923
  };
15942
15924
  _output_in: {
15943
15925
  plan: {
15944
- codes: string[];
15945
15926
  id: string;
15946
- kind: string;
15947
- relatedTo: "secrecy" | "secrecy_tech";
15948
- descriptorId: string;
15949
- isCustomPlan: boolean;
15927
+ name: string;
15928
+ isCustomPlan?: boolean | undefined;
15950
15929
  } & {
15951
15930
  descriptor: {
15952
15931
  devsBase: bigint | null;
@@ -15992,12 +15971,9 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
15992
15971
  } | null;
15993
15972
  };
15994
15973
  plans: ({
15995
- codes: string[];
15996
15974
  id: string;
15997
- kind: string;
15998
- relatedTo: "secrecy" | "secrecy_tech";
15999
- descriptorId: string;
16000
- isCustomPlan: boolean;
15975
+ name: string;
15976
+ isCustomPlan?: boolean | undefined;
16001
15977
  } & {
16002
15978
  descriptor: {
16003
15979
  devsBase: bigint | null;
@@ -16025,11 +16001,8 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16025
16001
  }[];
16026
16002
  _output_out: {
16027
16003
  plan: {
16028
- codes: string[];
16029
16004
  id: string;
16030
- kind: string;
16031
- relatedTo: "secrecy" | "secrecy_tech";
16032
- descriptorId: string;
16005
+ name: string;
16033
16006
  isCustomPlan: boolean;
16034
16007
  } & {
16035
16008
  descriptor: {
@@ -16076,11 +16049,8 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16076
16049
  } | null;
16077
16050
  };
16078
16051
  plans: ({
16079
- codes: string[];
16080
16052
  id: string;
16081
- kind: string;
16082
- relatedTo: "secrecy" | "secrecy_tech";
16083
- descriptorId: string;
16053
+ name: string;
16084
16054
  isCustomPlan: boolean;
16085
16055
  } & {
16086
16056
  descriptor: {
@@ -16317,11 +16287,11 @@ export declare const createTRPCClient: (session?: string | null | undefined, onA
16317
16287
  };
16318
16288
  _input_in: {
16319
16289
  appId: string;
16320
- planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
16290
+ planName: string;
16321
16291
  };
16322
16292
  _input_out: {
16323
16293
  appId: string;
16324
- planCode: "tech_solo_month" | "tech_pro_month" | "tech_premium_month";
16294
+ planName: string;
16325
16295
  };
16326
16296
  _output_in: {
16327
16297
  url: string | null;
package/package.json CHANGED
@@ -2,7 +2,7 @@
2
2
  "name": "@secrecy/lib",
3
3
  "author": "Anonymize <anonymize@gmail.com>",
4
4
  "description": "Anonymize Secrecy Library",
5
- "version": "1.39.0-feat-custom-tech-plan.2",
5
+ "version": "1.39.0-feat-custom-tech-plan.4",
6
6
  "repository": {
7
7
  "type": "git",
8
8
  "url": "https://github.com/anonymize-org/lib.git"
@@ -49,9 +49,9 @@
49
49
  "semantic-release": "semantic-release"
50
50
  },
51
51
  "devDependencies": {
52
- "@commitlint/cli": "^19.3.0",
53
- "@commitlint/config-conventional": "^19.2.2",
54
- "@prisma/client": "5.18.0",
52
+ "@commitlint/cli": "^19.4.1",
53
+ "@commitlint/config-conventional": "^19.4.1",
54
+ "@prisma/client": "5.19.1",
55
55
  "@types/bun": "^1.1.8",
56
56
  "@types/jsonwebtoken": "^9.0.6",
57
57
  "@types/spark-md5": "^3.0.4",
@@ -61,29 +61,29 @@
61
61
  "eslint-config-love": "^63.0.0",
62
62
  "eslint-config-prettier": "^9.1.0",
63
63
  "eslint-plugin-import": "^2.29.1",
64
- "eslint-plugin-n": "^17.9.0",
64
+ "eslint-plugin-n": "^17.10.2",
65
65
  "eslint-plugin-promise": "^7.1.0",
66
- "husky": "^9.0.11",
66
+ "husky": "^9.1.5",
67
67
  "npm-run-all": "^4.1.5",
68
68
  "prettier": "^3.3.3",
69
69
  "rimraf": "^6.0.1",
70
- "semantic-release": "^24.0.0",
71
- "typedoc": "^0.26.4",
70
+ "semantic-release": "^24.1.0",
71
+ "typedoc": "^0.26.6",
72
72
  "typedoc-plugin-missing-exports": "^3.0.0",
73
- "typescript": "^5.5.3"
73
+ "typescript": "^5.5.4"
74
74
  },
75
75
  "dependencies": {
76
76
  "@secrecy/lib-utils": "^1.0.18",
77
- "@secrecy/trpc-api-types": "1.33.0-feat-custom-tech-plan.2",
77
+ "@secrecy/trpc-api-types": "1.33.0-feat-custom-tech-plan.4",
78
78
  "@trpc/client": "10.45.2",
79
79
  "@trpc/server": "10.45.2",
80
80
  "@types/libsodium-wrappers-sumo": "^0.7.8",
81
- "axios": "^1.7.5",
81
+ "axios": "^1.7.7",
82
82
  "bson": "^6.8.0",
83
- "ethers": "^6.13.1",
83
+ "ethers": "^6.13.2",
84
84
  "jsonwebtoken": "^9.0.2",
85
- "ky": "^1.4.0",
86
- "libsodium-wrappers-sumo": "^0.7.14",
85
+ "ky": "^1.7.1",
86
+ "libsodium-wrappers-sumo": "^0.7.15",
87
87
  "lru-cache": "^11.0.0",
88
88
  "spark-md5": "^3.0.2",
89
89
  "superjson": "2.2.1",