@rainlanguage/ui-components 0.0.1-alpha.126 → 0.0.1-alpha.128

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.
@@ -3,12 +3,13 @@ import { writable } from 'svelte/store';
3
3
  import settingsYamlContent from '../__fixtures__/settings.yaml?raw';
4
4
  import {} from '@wagmi/core';
5
5
  import { mockWeb3Config } from './mockWeb3Config';
6
- vi.mock(import('@rainlanguage/orderbook'), async (importOriginal) => {
7
- const actual = await importOriginal();
8
- return {
9
- ...actual
10
- };
11
- });
6
+ if (import.meta.vitest) {
7
+ vi.mock('@rainlanguage/orderbook', async (importOriginal) => {
8
+ return {
9
+ ...(await importOriginal())
10
+ };
11
+ });
12
+ }
12
13
  // Parse the YAML settings
13
14
  const parseResult = parseYaml([settingsYamlContent]);
14
15
  if (parseResult.error) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@rainlanguage/ui-components",
3
- "version": "0.0.1-alpha.126",
3
+ "version": "0.0.1-alpha.128",
4
4
  "description": "A component library for building Svelte applications to be used with Raindex.",
5
5
  "license": "LicenseRef-DCL-1.0",
6
6
  "author": "Rain Open Source Software Ltd",
@@ -53,7 +53,7 @@
53
53
  "@fontsource/dm-sans": "5.1.0",
54
54
  "@imask/svelte": "7.6.1",
55
55
  "@observablehq/plot": "0.6.16",
56
- "@rainlanguage/orderbook": "0.0.1-alpha.126",
56
+ "@rainlanguage/orderbook": "0.0.1-alpha.128",
57
57
  "@reown/appkit": "1.6.4",
58
58
  "@reown/appkit-adapter-wagmi": "1.6.4",
59
59
  "@sentry/sveltekit": "7.120.0",