@aephia/atlas-kit 0.6.0 → 0.6.1
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/README.md +5 -0
- package/package.json +61 -31
package/README.md
CHANGED
|
@@ -19,6 +19,11 @@ npm install @aephia/atlas-kit @solana/kit@^6.1.0
|
|
|
19
19
|
`@staratlas/sage` package, which targets the previous version of the game and is
|
|
20
20
|
API-incompatible with SAGE C4.
|
|
21
21
|
|
|
22
|
+
The package is ESM-only. CommonJS code can `require()` it on a Node.js release
|
|
23
|
+
that enables require(esm) by default, which is 20.19 and newer on the 20 line
|
|
24
|
+
and 22.12 and newer from the 22 line on. A runtime without that feature must use
|
|
25
|
+
`import`.
|
|
26
|
+
|
|
22
27
|
## Quickstart
|
|
23
28
|
|
|
24
29
|
The batteries-included client returns already-loaded entity views:
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@aephia/atlas-kit",
|
|
3
|
-
"version": "0.6.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Community-maintained non-custodial TypeScript SDK for Star Atlas SAGE C4.",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "Aephia contributors",
|
|
@@ -34,123 +34,153 @@
|
|
|
34
34
|
"exports": {
|
|
35
35
|
".": {
|
|
36
36
|
"types": "./dist/index.d.ts",
|
|
37
|
-
"import": "./dist/index.js"
|
|
37
|
+
"import": "./dist/index.js",
|
|
38
|
+
"default": "./dist/index.js"
|
|
38
39
|
},
|
|
39
40
|
"./bindings": {
|
|
40
41
|
"types": "./dist/bindings.d.ts",
|
|
41
|
-
"import": "./dist/bindings.js"
|
|
42
|
+
"import": "./dist/bindings.js",
|
|
43
|
+
"default": "./dist/bindings.js"
|
|
42
44
|
},
|
|
43
45
|
"./cargo": {
|
|
44
46
|
"types": "./dist/cargo/index.d.ts",
|
|
45
|
-
"import": "./dist/cargo/index.js"
|
|
47
|
+
"import": "./dist/cargo/index.js",
|
|
48
|
+
"default": "./dist/cargo/index.js"
|
|
46
49
|
},
|
|
47
50
|
"./cargo/actions": {
|
|
48
51
|
"types": "./dist/cargo/actions/index.d.ts",
|
|
49
|
-
"import": "./dist/cargo/actions/index.js"
|
|
52
|
+
"import": "./dist/cargo/actions/index.js",
|
|
53
|
+
"default": "./dist/cargo/actions/index.js"
|
|
50
54
|
},
|
|
51
55
|
"./claim-stakes": {
|
|
52
56
|
"types": "./dist/claim-stakes/index.d.ts",
|
|
53
|
-
"import": "./dist/claim-stakes/index.js"
|
|
57
|
+
"import": "./dist/claim-stakes/index.js",
|
|
58
|
+
"default": "./dist/claim-stakes/index.js"
|
|
54
59
|
},
|
|
55
60
|
"./claim-stakes/actions": {
|
|
56
61
|
"types": "./dist/claim-stakes/actions/index.d.ts",
|
|
57
|
-
"import": "./dist/claim-stakes/actions/index.js"
|
|
62
|
+
"import": "./dist/claim-stakes/actions/index.js",
|
|
63
|
+
"default": "./dist/claim-stakes/actions/index.js"
|
|
58
64
|
},
|
|
59
65
|
"./client": {
|
|
60
66
|
"types": "./dist/client/index.d.ts",
|
|
61
|
-
"import": "./dist/client/index.js"
|
|
67
|
+
"import": "./dist/client/index.js",
|
|
68
|
+
"default": "./dist/client/index.js"
|
|
62
69
|
},
|
|
63
70
|
"./combat": {
|
|
64
71
|
"types": "./dist/combat/index.d.ts",
|
|
65
|
-
"import": "./dist/combat/index.js"
|
|
72
|
+
"import": "./dist/combat/index.js",
|
|
73
|
+
"default": "./dist/combat/index.js"
|
|
66
74
|
},
|
|
67
75
|
"./combat/actions": {
|
|
68
76
|
"types": "./dist/combat/actions/index.d.ts",
|
|
69
|
-
"import": "./dist/combat/actions/index.js"
|
|
77
|
+
"import": "./dist/combat/actions/index.js",
|
|
78
|
+
"default": "./dist/combat/actions/index.js"
|
|
70
79
|
},
|
|
71
80
|
"./crafting": {
|
|
72
81
|
"types": "./dist/crafting/index.d.ts",
|
|
73
|
-
"import": "./dist/crafting/index.js"
|
|
82
|
+
"import": "./dist/crafting/index.js",
|
|
83
|
+
"default": "./dist/crafting/index.js"
|
|
74
84
|
},
|
|
75
85
|
"./crafting/actions": {
|
|
76
86
|
"types": "./dist/crafting/actions/index.d.ts",
|
|
77
|
-
"import": "./dist/crafting/actions/index.js"
|
|
87
|
+
"import": "./dist/crafting/actions/index.js",
|
|
88
|
+
"default": "./dist/crafting/actions/index.js"
|
|
78
89
|
},
|
|
79
90
|
"./factions": {
|
|
80
91
|
"types": "./dist/factions/index.d.ts",
|
|
81
|
-
"import": "./dist/factions/index.js"
|
|
92
|
+
"import": "./dist/factions/index.js",
|
|
93
|
+
"default": "./dist/factions/index.js"
|
|
82
94
|
},
|
|
83
95
|
"./factions/actions": {
|
|
84
96
|
"types": "./dist/factions/actions/index.d.ts",
|
|
85
|
-
"import": "./dist/factions/actions/index.js"
|
|
97
|
+
"import": "./dist/factions/actions/index.js",
|
|
98
|
+
"default": "./dist/factions/actions/index.js"
|
|
86
99
|
},
|
|
87
100
|
"./fleets": {
|
|
88
101
|
"types": "./dist/fleets/index.d.ts",
|
|
89
|
-
"import": "./dist/fleets/index.js"
|
|
102
|
+
"import": "./dist/fleets/index.js",
|
|
103
|
+
"default": "./dist/fleets/index.js"
|
|
90
104
|
},
|
|
91
105
|
"./fleets/actions": {
|
|
92
106
|
"types": "./dist/fleets/actions/index.d.ts",
|
|
93
|
-
"import": "./dist/fleets/actions/index.js"
|
|
107
|
+
"import": "./dist/fleets/actions/index.js",
|
|
108
|
+
"default": "./dist/fleets/actions/index.js"
|
|
94
109
|
},
|
|
95
110
|
"./identity": {
|
|
96
111
|
"types": "./dist/identity/index.d.ts",
|
|
97
|
-
"import": "./dist/identity/index.js"
|
|
112
|
+
"import": "./dist/identity/index.js",
|
|
113
|
+
"default": "./dist/identity/index.js"
|
|
98
114
|
},
|
|
99
115
|
"./identity/actions": {
|
|
100
116
|
"types": "./dist/identity/actions/index.d.ts",
|
|
101
|
-
"import": "./dist/identity/actions/index.js"
|
|
117
|
+
"import": "./dist/identity/actions/index.js",
|
|
118
|
+
"default": "./dist/identity/actions/index.js"
|
|
102
119
|
},
|
|
103
120
|
"./loyalty": {
|
|
104
121
|
"types": "./dist/loyalty/index.d.ts",
|
|
105
|
-
"import": "./dist/loyalty/index.js"
|
|
122
|
+
"import": "./dist/loyalty/index.js",
|
|
123
|
+
"default": "./dist/loyalty/index.js"
|
|
106
124
|
},
|
|
107
125
|
"./loyalty/actions": {
|
|
108
126
|
"types": "./dist/loyalty/actions/index.d.ts",
|
|
109
|
-
"import": "./dist/loyalty/actions/index.js"
|
|
127
|
+
"import": "./dist/loyalty/actions/index.js",
|
|
128
|
+
"default": "./dist/loyalty/actions/index.js"
|
|
110
129
|
},
|
|
111
130
|
"./markets": {
|
|
112
131
|
"types": "./dist/markets/index.d.ts",
|
|
113
|
-
"import": "./dist/markets/index.js"
|
|
132
|
+
"import": "./dist/markets/index.js",
|
|
133
|
+
"default": "./dist/markets/index.js"
|
|
114
134
|
},
|
|
115
135
|
"./markets/actions": {
|
|
116
136
|
"types": "./dist/markets/actions/index.d.ts",
|
|
117
|
-
"import": "./dist/markets/actions/index.js"
|
|
137
|
+
"import": "./dist/markets/actions/index.js",
|
|
138
|
+
"default": "./dist/markets/actions/index.js"
|
|
118
139
|
},
|
|
119
140
|
"./mining": {
|
|
120
141
|
"types": "./dist/mining/index.d.ts",
|
|
121
|
-
"import": "./dist/mining/index.js"
|
|
142
|
+
"import": "./dist/mining/index.js",
|
|
143
|
+
"default": "./dist/mining/index.js"
|
|
122
144
|
},
|
|
123
145
|
"./mining/actions": {
|
|
124
146
|
"types": "./dist/mining/actions/index.d.ts",
|
|
125
|
-
"import": "./dist/mining/actions/index.js"
|
|
147
|
+
"import": "./dist/mining/actions/index.js",
|
|
148
|
+
"default": "./dist/mining/actions/index.js"
|
|
126
149
|
},
|
|
127
150
|
"./planning": {
|
|
128
151
|
"types": "./dist/planning/index.d.ts",
|
|
129
|
-
"import": "./dist/planning/index.js"
|
|
152
|
+
"import": "./dist/planning/index.js",
|
|
153
|
+
"default": "./dist/planning/index.js"
|
|
130
154
|
},
|
|
131
155
|
"./scanning": {
|
|
132
156
|
"types": "./dist/scanning/index.d.ts",
|
|
133
|
-
"import": "./dist/scanning/index.js"
|
|
157
|
+
"import": "./dist/scanning/index.js",
|
|
158
|
+
"default": "./dist/scanning/index.js"
|
|
134
159
|
},
|
|
135
160
|
"./rewards": {
|
|
136
161
|
"types": "./dist/rewards/index.d.ts",
|
|
137
|
-
"import": "./dist/rewards/index.js"
|
|
162
|
+
"import": "./dist/rewards/index.js",
|
|
163
|
+
"default": "./dist/rewards/index.js"
|
|
138
164
|
},
|
|
139
165
|
"./starbases": {
|
|
140
166
|
"types": "./dist/starbases/index.d.ts",
|
|
141
|
-
"import": "./dist/starbases/index.js"
|
|
167
|
+
"import": "./dist/starbases/index.js",
|
|
168
|
+
"default": "./dist/starbases/index.js"
|
|
142
169
|
},
|
|
143
170
|
"./starbases/actions": {
|
|
144
171
|
"types": "./dist/starbases/actions/index.d.ts",
|
|
145
|
-
"import": "./dist/starbases/actions/index.js"
|
|
172
|
+
"import": "./dist/starbases/actions/index.js",
|
|
173
|
+
"default": "./dist/starbases/actions/index.js"
|
|
146
174
|
},
|
|
147
175
|
"./world": {
|
|
148
176
|
"types": "./dist/world/index.d.ts",
|
|
149
|
-
"import": "./dist/world/index.js"
|
|
177
|
+
"import": "./dist/world/index.js",
|
|
178
|
+
"default": "./dist/world/index.js"
|
|
150
179
|
},
|
|
151
180
|
"./scanning/actions": {
|
|
152
181
|
"types": "./dist/scanning/actions/index.d.ts",
|
|
153
|
-
"import": "./dist/scanning/actions/index.js"
|
|
182
|
+
"import": "./dist/scanning/actions/index.js",
|
|
183
|
+
"default": "./dist/scanning/actions/index.js"
|
|
154
184
|
}
|
|
155
185
|
},
|
|
156
186
|
"files": [
|