Skip to content

Is it available from deno? #685

@ampcpmgp

Description

@ampcpmgp

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/paypayopa-sdk-node@2.1.0/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/-/jwa@v1.4.1-WVlqSmorRvV35ceAD5qg/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/paypayopa-sdk-node@2.1.0/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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions