You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

sendscript

Package Overview
Dependencies
Maintainers
1
Versions
14
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

sendscript - npm Package Compare versions

Comparing version

to
0.1.3

6

CHANGELOG.md

@@ -7,4 +7,10 @@ ### Changelog

#### [v0.1.3](https://github.com/bas080/sendscript/compare/v0.1.2...v0.1.3)
- Remove the d.ts file gen step [`801b2cf`](https://github.com/bas080/sendscript/commit/801b2cf3b38259455186d4df85d98a42c046287c)
#### [v0.1.2](https://github.com/bas080/sendscript/compare/v0.1.1...v0.1.2)
> 4 January 2024
- Update tap to 10.9.5 [`4e3ddcc`](https://github.com/bas080/sendscript/commit/4e3ddcca823ca64c52bc1966ac23a712480d6c4d)

@@ -11,0 +17,0 @@

2

package.json
{
"name": "sendscript",
"version": "0.1.2",
"version": "0.1.3",
"description": "Blur the line between server and client code.",

@@ -5,0 +5,0 @@ "module": true,

@@ -196,4 +196,4 @@ # SendScript

share with consumers of your API.
3. You can generate a .d.ts with `tsc --declaration` and use it to coerce your
client to adopt the modules type.
3. You can use the types of the module to coerce your client to adopt the
modules type.

@@ -203,11 +203,8 @@ ```bash

npx typedoc my-module.ts
# Create the .d.ts file for your module.
tsc --declaration
```
Now we can use the `my-module.d.ts` file for the client API.
Now we can use the `my-module.ts` file for the client API.
```ts
import type * as MyModule from './my-module.d.ts'
import type * as MyModule from './my-module'

@@ -238,7 +235,7 @@ import sendScriptApi from 'sendscript/api.mjs'

> sendscript@0.1.2 test
> sendscript@0.1.3 test
> tap -R silent
> sendscript@0.1.2 test
> sendscript@0.1.3 test
> tap report text-summary

@@ -245,0 +242,0 @@

Sorry, the diff of this file is not supported yet