@diviswap/sdk 1.7.14 → 1.7.15
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/cli/index.js +1 -1
- package/dist/cli/templates/nextjs-app/actions.ts.hbs +2 -2
- package/dist/cli/templates/nextjs-app/api-route.ts.hbs +2 -2
- package/dist/cli/templates/nextjs-app/layout-wrapper.tsx.hbs +1 -1
- package/dist/cli/templates/nextjs-app/provider-wrapper.tsx.hbs +1 -1
- package/dist/cli/templates/nextjs-app/setup-provider.tsx.hbs +1 -1
- package/dist/cli/templates/react/example.tsx.hbs +1 -1
- package/package.json +1 -1
- package/src/cli/templates/nextjs-app/actions.ts.hbs +2 -2
- package/src/cli/templates/nextjs-app/api-route.ts.hbs +2 -2
- package/src/cli/templates/nextjs-app/layout-wrapper.tsx.hbs +1 -1
- package/src/cli/templates/nextjs-app/provider-wrapper.tsx.hbs +1 -1
- package/src/cli/templates/nextjs-app/setup-provider.tsx.hbs +1 -1
- package/src/cli/templates/react/example.tsx.hbs +1 -1
package/dist/cli/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use server';
|
|
2
2
|
|
|
3
|
-
import { LiberEx } from '@
|
|
4
|
-
import type { Transaction, Payee } from '@
|
|
3
|
+
import { LiberEx } from '@diviswap/sdk';
|
|
4
|
+
import type { Transaction, Payee } from '@diviswap/sdk';
|
|
5
5
|
import { revalidatePath } from 'next/cache';
|
|
6
6
|
import { cookies } from 'next/headers';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NextRequest, NextResponse } from 'next/server';
|
|
2
|
-
import { LiberEx } from '@
|
|
2
|
+
import { LiberEx } from '@diviswap/sdk';
|
|
3
3
|
import { cookies } from 'next/headers';
|
|
4
|
-
import type { LiberEx as LiberExType } from '@
|
|
4
|
+
import type { LiberEx as LiberExType } from '@diviswap/sdk';
|
|
5
5
|
|
|
6
6
|
// Initialize LiberEx SDK with partner authentication
|
|
7
7
|
function getLiberEx() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { LiberExProvider } from '@
|
|
3
|
+
import { LiberExProvider } from '@diviswap/sdk/react';
|
|
4
4
|
|
|
5
5
|
// Wrapper to ensure client-side rendering for LiberEx components
|
|
6
6
|
export function LiberExClientProvider({ children }: { children: React.ReactNode }) {
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use server';
|
|
2
2
|
|
|
3
|
-
import { LiberEx } from '@
|
|
4
|
-
import type { Transaction, Payee } from '@
|
|
3
|
+
import { LiberEx } from '@diviswap/sdk';
|
|
4
|
+
import type { Transaction, Payee } from '@diviswap/sdk';
|
|
5
5
|
import { revalidatePath } from 'next/cache';
|
|
6
6
|
import { cookies } from 'next/headers';
|
|
7
7
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { NextRequest, NextResponse } from 'next/server';
|
|
2
|
-
import { LiberEx } from '@
|
|
2
|
+
import { LiberEx } from '@diviswap/sdk';
|
|
3
3
|
import { cookies } from 'next/headers';
|
|
4
|
-
import type { LiberEx as LiberExType } from '@
|
|
4
|
+
import type { LiberEx as LiberExType } from '@diviswap/sdk';
|
|
5
5
|
|
|
6
6
|
// Initialize LiberEx SDK with partner authentication
|
|
7
7
|
function getLiberEx() {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
|
-
import { LiberExProvider } from '@
|
|
3
|
+
import { LiberExProvider } from '@diviswap/sdk/react';
|
|
4
4
|
|
|
5
5
|
// Wrapper to ensure client-side rendering for LiberEx components
|
|
6
6
|
export function LiberExClientProvider({ children }: { children: React.ReactNode }) {
|