@shipstatic/types 0.1.6 → 0.1.7

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
@@ -83,11 +83,11 @@ export interface Account {
83
83
  name: string;
84
84
  /** User profile picture URL */
85
85
  picture?: string;
86
- /** Account subscription status */
87
- subscription: 'free' | 'active' | 'suspended';
86
+ /** Account plan status */
87
+ plan: 'free' | 'active' | 'suspended';
88
88
  /** Unix timestamp (seconds) when account was created */
89
89
  createdAt: number;
90
- /** Unix timestamp (seconds) when subscription started */
90
+ /** Unix timestamp (seconds) when plan started */
91
91
  subscribedAt?: number;
92
92
  /** Unix timestamp (seconds) when account was suspended */
93
93
  suspendedAt?: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipstatic/types",
3
- "version": "0.1.6",
3
+ "version": "0.1.7",
4
4
  "description": "Shared types for Shipstatic platform",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
package/src/index.ts CHANGED
@@ -102,11 +102,11 @@ export interface Account {
102
102
  name: string;
103
103
  /** User profile picture URL */
104
104
  picture?: string;
105
- /** Account subscription status */
106
- subscription: 'free' | 'active' | 'suspended';
105
+ /** Account plan status */
106
+ plan: 'free' | 'active' | 'suspended';
107
107
  /** Unix timestamp (seconds) when account was created */
108
108
  createdAt: number;
109
- /** Unix timestamp (seconds) when subscription started */
109
+ /** Unix timestamp (seconds) when plan started */
110
110
  subscribedAt?: number;
111
111
  /** Unix timestamp (seconds) when account was suspended */
112
112
  suspendedAt?: number;