From 31dc142837332122a690e6df2c4a5cd5c34c093c Mon Sep 17 00:00:00 2001 From: Shyam-Raghuwanshi Date: Mon, 4 Nov 2024 01:14:34 +0530 Subject: [PATCH] removing-extra-files --- .../retell-ai/dist/bundle.js.LICENSE.txt | 10 --- JS/edgechains/examples/retell-ai/draft.txt | 83 ------------------- .../retell-ai/jsonnet/secrets.jsonnet | 2 +- 3 files changed, 1 insertion(+), 94 deletions(-) delete mode 100644 JS/edgechains/examples/retell-ai/dist/bundle.js.LICENSE.txt delete mode 100644 JS/edgechains/examples/retell-ai/draft.txt diff --git a/JS/edgechains/examples/retell-ai/dist/bundle.js.LICENSE.txt b/JS/edgechains/examples/retell-ai/dist/bundle.js.LICENSE.txt deleted file mode 100644 index 9805d779..00000000 --- a/JS/edgechains/examples/retell-ai/dist/bundle.js.LICENSE.txt +++ /dev/null @@ -1,10 +0,0 @@ -/*! - * The buffer module from node.js, for the browser. - * - * @author Feross Aboukhadijeh - * @license MIT - */ - -/*! ieee754. BSD-3-Clause License. Feross Aboukhadijeh */ - -/*! safe-buffer. MIT License. Feross Aboukhadijeh */ diff --git a/JS/edgechains/examples/retell-ai/draft.txt b/JS/edgechains/examples/retell-ai/draft.txt deleted file mode 100644 index 135aaa9c..00000000 --- a/JS/edgechains/examples/retell-ai/draft.txt +++ /dev/null @@ -1,83 +0,0 @@ -const path = require('path'); -const webpack = require('webpack'); -const nodeExternals = require('webpack-node-externals'); - -module.exports = { - entry: './src/index.tsx', - target: 'node', - externals: [nodeExternals()], - output: { - path: path.resolve(__dirname, 'dist'), - filename: '[name].js', - libraryTarget: 'commonjs2' - }, - resolve: { - extensions: ['.tsx', '.ts', '.js', '.jsx'], - fallback: { - "crypto": require.resolve("crypto-browserify"), - "stream": require.resolve("stream-browserify"), - "util": require.resolve("util/"), - "http": require.resolve("stream-http"), - "buffer": require.resolve("buffer/") - } - }, - plugins: [ - new webpack.ProvidePlugin({ - Buffer: ['buffer', 'Buffer'], - process: 'process/browser' - }), - new webpack.DefinePlugin({ - 'process.env.NODE_ENV': JSON.stringify('production') - }) - ], - module: { - rules: [ - { - test: /\.(ts|tsx)$/, - use: [ - { - loader: 'ts-loader', - options: { - transpileOnly: true, - compilerOptions: { - jsx: 'react', - module: 'commonjs', - target: 'es2017' - } - } - } - ], - exclude: /node_modules/ - } - ] - } -}; - - -//index.tsx - -import { ArakooServer } from "@arakoodev/edgechains.js/arakooserver" -const server = new ArakooServer(); -import "htmx" -import "hyperscript" -const app = server.createApp(); - -app.get("/", (c) => { - //@ts-ignore - return c.html(` - -
- -
- - `); - // return c.json({}); -}) - -server.listen(3000) \ No newline at end of file diff --git a/JS/edgechains/examples/retell-ai/jsonnet/secrets.jsonnet b/JS/edgechains/examples/retell-ai/jsonnet/secrets.jsonnet index 402d0f51..c1d311c1 100644 --- a/JS/edgechains/examples/retell-ai/jsonnet/secrets.jsonnet +++ b/JS/edgechains/examples/retell-ai/jsonnet/secrets.jsonnet @@ -1,4 +1,4 @@ -local RETELL_API_KEY = 'key_d16a952dff0d785b6a1b12a67570'; +local RETELL_API_KEY = 'key_****'; { reteall_api_key: RETELL_API_KEY,