@majkapp/plugin-kit 3.0.0 → 3.0.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.
|
@@ -199,7 +199,7 @@ function generateReactHooks(metadata, warnings, log) {
|
|
|
199
199
|
*/
|
|
200
200
|
|
|
201
201
|
import { useState, useEffect, useCallback } from 'react';
|
|
202
|
-
import { ${toCamelCase(metadata.id)}Client } from './client';
|
|
202
|
+
import { client as ${toCamelCase(metadata.id)}Client } from './client';
|
|
203
203
|
import type {
|
|
204
204
|
${metadata.functions.map((f) => ` ${capitalize(f.name)}Input,
|
|
205
205
|
${capitalize(f.name)}Output`).join(',\n')}
|
package/package.json
CHANGED