@sleeperhq/mini-core 1.3.3 → 1.3.5

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.
@@ -74,6 +74,6 @@ export type Mini = {
74
74
  export type Location = {
75
75
  state: string;
76
76
  country: string;
77
- hasPermission: boolean;
77
+ hasPermission: 'pending' | 'yes' | 'no';
78
78
  };
79
79
  export type VersionMap = Record<string, Mini>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sleeperhq/mini-core",
3
- "version": "1.3.3",
3
+ "version": "1.3.5",
4
4
  "description": "Core library frameworks for developing Sleeper Mini Apps.",
5
5
  "main": "index.ts",
6
6
  "types": "index.d.ts",
@@ -251,7 +251,7 @@ const DevServer = props => {
251
251
  let isInitialized = !!_dataRef.current?.dist;
252
252
 
253
253
  // Non-staging builds also require a version map to be defined.
254
- if (!_dataRef.current?.isStaging) {
254
+ if (!_dataRef.current?.isStaging && !config.dev) {
255
255
  isInitialized = !!_versionMap.current;
256
256
  }
257
257