Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Is it available from deno? #685

Open
ampcpmgp opened this issue Mar 5, 2023 · 0 comments
Open

Is it available from deno? #685

ampcpmgp opened this issue Mar 5, 2023 · 0 comments

Comments

@ampcpmgp
Copy link

ampcpmgp commented Mar 5, 2023

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I would like to use it from Supabase Edge Functions, but it does not seem to be available at this time.


Describe the solution you'd like
A clear and concise description of what you want to happen.

Supabase Edge Functions uses Deno, so we want to call this package from Deno.


Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

I tried to call deno from the following URLs, but none of them were available.

import paypay from "npm:@paypayopa/paypayopa-sdk-node";
import paypay from "https://cdn.skypack.dev/@paypayopa/paypayopa-sdk-node";
import paypay from "https://www.unpkg.com/browse/@paypayopa/[email protected]/dist/index.js"

Additional context
Add any other context or screenshots about the feature request here.

via skypack

error: Module not found "https://deno.land/std/node/crypto.ts".
    at https://cdn.skypack.dev/-/[email protected]/dist=es2019,mode=imports/optimized/jwa.js:3:21

via unpkg

error: Expected a JavaScript or TypeScript module, but identified a Unknown module. Importing these types of modules is currently not supported.
  Specifier: https://www.unpkg.com/browse/@paypayopa/[email protected]/dist/index.js
    at file:///home/deno/functions/pay/index.ts:7:20

via npm

error: Following npm specifiers were requested: "@paypayopa/paypayopa-sdk-node"; but --no-npm is specified.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant